aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jdupes
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2018-04-14 09:47:10 -0400
committerFrancesco Colista <fcolista@alpinelinux.org>2018-05-08 13:15:19 +0000
commit93bb13a8626de0b8eeb512c70feff5363d363924 (patch)
treed3d3eea13108040019f300f5822fb5a79aa786f3 /testing/jdupes
parent6357701b0a585432af92ee7d4128f2bec533c8c9 (diff)
downloadaports-93bb13a8626de0b8eeb512c70feff5363d363924.tar.bz2
aports-93bb13a8626de0b8eeb512c70feff5363d363924.tar.xz
testing/jdupes: new aport
https://github.com/jbruchon/jdupes jdupes is a program for identifying and taking actions upon duplicate files. This fork known as 'jdupes' is heavily modified from and improved over the original 'fdupes'.
Diffstat (limited to 'testing/jdupes')
-rw-r--r--testing/jdupes/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/jdupes/APKBUILD b/testing/jdupes/APKBUILD
new file mode 100644
index 0000000000..9217d48461
--- /dev/null
+++ b/testing/jdupes/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor:
+# Maintainer:
+pkgname=jdupes
+pkgver=1.9
+pkgrel=0
+pkgdesc="identifying and taking actions upon duplicate files"
+url="https://github.com/jbruchon/jdupes"
+arch="all"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jbruchon/$pkgname/archive/v${pkgver}.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
+}
+
+check() {
+ cd "$builddir"
+
+ ./$pkgname --version
+ # make test is not yet in the 1.9 release,
+ # maybe the next version will include it.
+ #make test
+}
+
+sha512sums="49cb0119e31622fb55fdecb3df9096d08478042ece496cafa4da1547d0123cdd78a1be58c1f6e350e8724df4faf9494661059b2d2e2a98d97fd27872c373fd6f jdupes-1.9.tar.gz"