summaryrefslogtreecommitdiff
path: root/user/fdupes/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/fdupes/APKBUILD')
-rw-r--r--user/fdupes/APKBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/user/fdupes/APKBUILD b/user/fdupes/APKBUILD
index 944256215..fa0891b31 100644
--- a/user/fdupes/APKBUILD
+++ b/user/fdupes/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=fdupes
-pkgver=1.6.1
+pkgver=2.1.1
pkgrel=0
pkgdesc="Identify or delete duplicate files in a directory tree"
url=" "
@@ -9,16 +9,23 @@ arch="all"
options="!check" # No test suite.
license="MIT"
depends=""
-makedepends=""
+makedepends="autoconf automake ncurses-dev pcre2-dev"
subpackages="$pkgname-doc"
source="fdupes-$pkgver.tar.gz::https://github.com/adrianlopezroche/fdupes/archive/v$pkgver.tar.gz"
+prepare() {
+ default_prepare
+ autoreconf -vif
+}
+
build() {
- make PREFIX=/usr
+ LIBS="-ltinfow" ./configure \
+ --prefix=/usr
+ make
}
package() {
- make PREFIX=/usr DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install
}
-sha512sums="6c6662b70068c2f48f4be64a6830c81a66852d650391d0756f20b9ac0df7d70c1a32918bd7cbd50e19de524d9ebc09ea338c19636e1807b071eb96b325e641db fdupes-1.6.1.tar.gz"
+sha512sums="e098647f57d0f9fb183b9f3c4cc36d33427edb3982763a894251c5a9f8432302329cc8d1ab5a09dc27a247065bdd40936c48d3846f1babf3300ca011a37a1b7d fdupes-2.1.1.tar.gz"