Browse Source
This new construct allows us to specify the src url in a structured way for e.g. repology metadata. Start by using it in ack-grep and ca-certificates.android-5
Fredrik Fornwall
7 years ago
3 changed files with 12 additions and 7 deletions
@ -1,15 +1,18 @@ |
|||
TERMUX_PKG_HOMEPAGE=https://beyondgrep.com/ |
|||
TERMUX_PKG_DESCRIPTION="Tool like grep optimized for programmers" |
|||
TERMUX_PKG_VERSION=2.22 |
|||
TERMUX_PKG_SRCURL=https://beyondgrep.com/ack-${TERMUX_PKG_VERSION}-single-file |
|||
TERMUX_PKG_SHA256=fd0617585b88517a3d41d3d206c1dc38058c57b90dfd88c278049a41aeb5be38 |
|||
TERMUX_PKG_SKIP_SRC_EXTRACT=yes |
|||
# Depend on coreutils for bin/env |
|||
TERMUX_PKG_DEPENDS="perl, coreutils" |
|||
TERMUX_PKG_PLATFORM_INDEPENDENT=yes |
|||
|
|||
termux_step_make_install () { |
|||
termux_download \ |
|||
https://beyondgrep.com/ack-${TERMUX_PKG_VERSION}-single-file \ |
|||
$TERMUX_PKG_SRCURL \ |
|||
$TERMUX_PREFIX/bin/ack \ |
|||
fd0617585b88517a3d41d3d206c1dc38058c57b90dfd88c278049a41aeb5be38 |
|||
$TERMUX_PKG_SHA256 |
|||
touch $TERMUX_PREFIX/bin/ack |
|||
chmod +x $TERMUX_PREFIX/bin/ack |
|||
} |
|||
|
Loading…
Reference in new issue