aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jdupes/APKBUILD
blob: eb7882d3f8e9580a1006cecc834c5c32c6c656f2 (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
30
31
# Contributor: tcely <tcely@users.noreply.github.com>
# Maintainer:
pkgname=jdupes
pkgver=1.10.1
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="8bc2911cf75357741a652f127613878507bfb6ac9a3ac6bcc4518f22fe5b57d2c66f16dd3d988e0d3ff04817ddf572d69103aadeca27260ac0afdfd79f3b8292  jdupes-1.10.1.tar.gz"