mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-06 19:03:24 +00:00
22 lines
781 B
Bash
22 lines
781 B
Bash
TERMUX_PKG_HOMEPAGE=https://cyan4973.github.io/xxHash/
|
|
TERMUX_PKG_DESCRIPTION="Extremely fast non-cryptographic hash algorithm"
|
|
TERMUX_PKG_LICENSE="BSD, GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="0.8.2"
|
|
TERMUX_PKG_SRCURL=https://github.com/Cyan4973/xxHash/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=baee0c6afd4f03165de7a4e67988d16f0f2b257b51d0e3cb91909302a26a79c4
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_post_massage() {
|
|
# Do not forget to bump revision of reverse dependencies and rebuild them
|
|
# after SOVERSION is changed.
|
|
local _SOVERSION_GUARD_FILES="lib/libxxhash.so.0"
|
|
local f
|
|
for f in ${_SOVERSION_GUARD_FILES}; do
|
|
if [ ! -e "${f}" ]; then
|
|
termux_error_exit "SOVERSION guard check failed."
|
|
fi
|
|
done
|
|
}
|