chiark / gitweb /
Add ack-grep package
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 3 Dec 2015 22:10:27 +0000 (17:10 -0500)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 3 Dec 2015 22:10:27 +0000 (17:10 -0500)
packages/ack-grep/build.sh [new file with mode: 0644]

diff --git a/packages/ack-grep/build.sh b/packages/ack-grep/build.sh
new file mode 100644 (file)
index 0000000..b5ee067
--- /dev/null
@@ -0,0 +1,11 @@
+TERMUX_PKG_HOMEPAGE=http://beyondgrep.com/
+TERMUX_PKG_DESCRIPTION="Tool like grep optimized for programmers"
+TERMUX_PKG_VERSION=2.14
+# Depend on coreutils for bin/env.
+TERMUX_PKG_DEPENDS="perl, coreutils"
+TERMUX_PKG_PLATFORM_INDEPENDENT=yes
+
+termux_step_make_install () {
+       curl -o $TERMUX_PREFIX/bin/ack http://beyondgrep.com/ack-${TERMUX_PKG_VERSION}-single-file
+       chmod +x $TERMUX_PREFIX/bin/ack
+}