Add nethack stub to disabled-packages
[termux-packages] / packages / mlocate / build.sh
CommitLineData
59f0d218
FF
1TERMUX_PKG_HOMEPAGE=https://fedorahosted.org/mlocate/
2TERMUX_PKG_DESCRIPTION="Tool to find files anywhere in the filesystem based on their name"
3TERMUX_PKG_VERSION=0.26
08a9993c 4TERMUX_PKG_BUILD_REVISION=1
59f0d218
FF
5TERMUX_PKG_SRCURL=https://fedorahosted.org/releases/m/l/mlocate/mlocate-${TERMUX_PKG_VERSION}.tar.xz
6
7CPPFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX"
8
9termux_step_create_debscripts () {
10 echo "mkdir -p $TERMUX_PREFIX/var/mlocate/" > postinst
11 echo "exit 0" >> postinst
12 chmod 0755 postinst
13}