aboutsummaryrefslogtreecommitdiffstats
path: root/community/fdupes/APKBUILD
blob: 75b83065cd99e709fb33e79b7a19899afd8ada8c (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=fdupes
pkgver=2.0.0
pkgrel=0
pkgdesc="identifying or deleting duplicate files residing within specified directories"
url="https://github.com/adrianlopezroche/fdupes"
arch="all"
license="MIT"
makedepends="ncurses-dev pcre2-dev"
subpackages="$pkgname-doc"
source="https://github.com/adrianlopezroche/fdupes/releases/download/$pkgver/fdupes-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

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

sha512sums="3c76cfba1cc650f6e680933cda6236e2110018d8a6a132e146d0d61c8f44cac5944e9966b1f3de5847aca6f233ab4df9b180888e0f4b3e3fa5ae8c5f9cb1484f  fdupes-2.0.0.tar.gz"