diff options
Diffstat (limited to 'unmaintained/duff/APKBUILD')
-rw-r--r-- | unmaintained/duff/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/unmaintained/duff/APKBUILD b/unmaintained/duff/APKBUILD new file mode 100644 index 0000000000..7c46f15708 --- /dev/null +++ b/unmaintained/duff/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=duff +pkgver=0.5.2 +pkgrel=0 +pkgdesc="A command-line tool for finding duplicate files" +url="http://sourceforge.net/projects/duff/" +arch="all" +license="ZLIB" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/duff/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + update_config_sub || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="483f9216ebea14b090e0d71dbf7077ff duff-0.5.2.tar.gz" +sha256sums="15b721f7e0ea43eba3fd6afb41dbd1be63c678952bf3d80350130a0e710c542e duff-0.5.2.tar.gz" +sha512sums="6fb1ede1e935c25c6bf354fee94ef1d9d454d5b98069ce671600e91767f802ad5c74bc602ad2c9e19a502e29c8c0ffcd0563a779714a16389594ea5678504768 duff-0.5.2.tar.gz" |