aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jdupes/APKBUILD
blob: 2fdaab0e074e65f48fd4fbf32443eadf6db08df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: tcely <tcely@users.noreply.github.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=jdupes
pkgver=1.10.2
pkgrel=0
pkgdesc="identifying and taking actions upon duplicate files"
url="https://github.com/jbruchon/jdupes"
arch="all"
license="MIT"
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
}

check() {
	cd "$builddir"
	./$pkgname --version
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="7e9d08eadf01556648a88c1f85ce6f17d21a07b48c5cf8d0cce93fdab7c448b9b748e37d341253e07f8c5874cad73b2c4f94057a43a51432401654583b3c2150  jdupes-1.10.2.tar.gz"