Commit | Line | Data |
---|---|---|
1 | TERMUX_PKG_HOMEPAGE=https://fedorahosted.org/mlocate/ | |
2 | TERMUX_PKG_DESCRIPTION="Tool to find files anywhere in the filesystem based on their name" | |
3 | TERMUX_PKG_VERSION=0.26 | |
4 | TERMUX_PKG_SRCURL=https://fedorahosted.org/releases/m/l/mlocate/mlocate-${TERMUX_PKG_VERSION}.tar.xz | |
5 | ||
6 | CPPFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX" | |
7 | ||
8 | termux_step_create_debscripts () { | |
9 | echo "mkdir -p $TERMUX_PREFIX/var/mlocate/" > postinst | |
10 | echo "exit 0" >> postinst | |
11 | chmod 0755 postinst | |
12 | } |