Commit | Line | Data |
---|---|---|
e7d13caa | 1 | TERMUX_PKG_HOMEPAGE=https://pagure.io/mlocate |
59f0d218 FF |
2 | TERMUX_PKG_DESCRIPTION="Tool to find files anywhere in the filesystem based on their name" |
3 | TERMUX_PKG_VERSION=0.26 | |
af4dc416 | 4 | TERMUX_PKG_REVISION=1 |
e7d13caa FF |
5 | TERMUX_PKG_SRCURL=https://releases.pagure.org/mlocate/mlocate-${TERMUX_PKG_VERSION}.tar.xz |
6 | TERMUX_PKG_SHA256=3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e | |
59f0d218 | 7 | |
7ce56385 FF |
8 | termux_step_pre_configure() { |
9 | CPPFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX" | |
10 | } | |
59f0d218 FF |
11 | |
12 | termux_step_create_debscripts () { | |
13 | echo "mkdir -p $TERMUX_PREFIX/var/mlocate/" > postinst | |
14 | echo "exit 0" >> postinst | |
15 | chmod 0755 postinst | |
16 | } |