termux-packages/packages/fdupes/build.sh

13 lines
521 B
Bash
Raw Normal View History

2017-08-01 03:29:51 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/adrianlopezroche/fdupes
TERMUX_PKG_DESCRIPTION="Duplicates file detector"
TERMUX_PKG_VERSION=1.6.1
TERMUX_PKG_SRCURL=https://github.com/adrianlopezroche/fdupes/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=9d6b6fdb0b8419815b4df3bdfd0aebc135b8276c90bbbe78ebe6af0b88ba49ea
TERMUX_PKG_FOLDERNAME=fdupes-${TERMUX_PKG_VERSION}
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_configure() {
sed -i "s,PREFIX = /usr/local,PREFIX = ${TERMUX_PREFIX}," "$TERMUX_PKG_SRCDIR/Makefile"
}