X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/08a9993c661f525b89b24be2eef96d7ac409e931..295241d4043c55a41259b4846464e1668b2f6a5f:/packages/mlocate/build.sh diff --git a/packages/mlocate/build.sh b/packages/mlocate/build.sh index 3854fce1..e98d8e08 100644 --- a/packages/mlocate/build.sh +++ b/packages/mlocate/build.sh @@ -1,10 +1,13 @@ -TERMUX_PKG_HOMEPAGE=https://fedorahosted.org/mlocate/ +TERMUX_PKG_HOMEPAGE=https://pagure.io/mlocate TERMUX_PKG_DESCRIPTION="Tool to find files anywhere in the filesystem based on their name" TERMUX_PKG_VERSION=0.26 -TERMUX_PKG_BUILD_REVISION=1 -TERMUX_PKG_SRCURL=https://fedorahosted.org/releases/m/l/mlocate/mlocate-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_REVISION=1 +TERMUX_PKG_SRCURL=https://releases.pagure.org/mlocate/mlocate-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e -CPPFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX" +termux_step_pre_configure() { + CPPFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX" +} termux_step_create_debscripts () { echo "mkdir -p $TERMUX_PREFIX/var/mlocate/" > postinst