2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://fedorahosted.org/mlocate/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Tool to find files anywhere in the filesystem based on their name"
|
|
|
|
TERMUX_PKG_VERSION=0.26
|
2016-02-29 18:33:44 +01:00
|
|
|
TERMUX_PKG_BUILD_REVISION=1
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://fedorahosted.org/releases/m/l/mlocate/mlocate-${TERMUX_PKG_VERSION}.tar.xz
|
|
|
|
|
2016-09-04 00:45:08 +02:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
CPPFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX"
|
|
|
|
}
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
termux_step_create_debscripts () {
|
|
|
|
echo "mkdir -p $TERMUX_PREFIX/var/mlocate/" > postinst
|
|
|
|
echo "exit 0" >> postinst
|
|
|
|
chmod 0755 postinst
|
|
|
|
}
|