findutils: Remove locate and updated (use mlocate)
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 19 Nov 2015 22:50:02 +0000 (17:50 -0500)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 19 Nov 2015 22:50:02 +0000 (17:50 -0500)
packages/findutils/build.sh
packages/findutils/findutils-locate.subpackage.sh [deleted file]

index 8629a2f..deb2443 100644 (file)
@@ -5,3 +5,5 @@ TERMUX_PKG_SRCURL=http://prep.ai.mit.edu/gnu/findutils/findutils-${TERMUX_PKG_VE
 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="gl_cv_func_fflush_stdin=yes SORT_SUPPORTS_Z=yes SORT=$TERMUX_PREFIX/bin/applets/sort"
 TERMUX_PKG_DEPENDS="libandroid-support"
 TERMUX_PKG_RM_AFTER_INSTALL="bin/oldfind share/man/man1/oldfind.1"
+# Remove locale and updatedb which in Termux is provided by mlocate:
+TERMUX_PKG_RM_AFTER_INSTALL+=" bin/locate bin/updatedb share/man/man1/locate.1 share/man/man1/updatedb.1 share/man/man5/locatedb.5"
diff --git a/packages/findutils/findutils-locate.subpackage.sh b/packages/findutils/findutils-locate.subpackage.sh
deleted file mode 100644 (file)
index 2b3fefc..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-TERMUX_SUBPKG_INCLUDE="bin/locate bin/updatedb share/man/man1/locate.1 share/man/man1/updatedb.1 share/man/man5/locatedb.5"
-TERMUX_SUBPKG_DESCRIPTION="Tool to find files anywhere in the filesystem based on their name"
-TERMUX_SUBPKG_DEPENDS="libandroid-support"