summaryrefslogtreecommitdiff
path: root/community/rdfind/APKBUILD
blob: f6b0e6c85362332a0c8471427a6d5f5d48ad4592 (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
32
33
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=rdfind
pkgver=1.3.5
pkgrel=0
pkgdesc="Redundant data find - a program that finds duplicate files"
url="http://rdfind.pauldreik.se"
arch="all"
license="GPL2 "
makedepends="nettle-dev"
subpackages="$pkgname-doc"
source="https://rdfind.pauldreik.se/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"


check() {
	cd "$builddir"
	make check
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr
	make
}

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

sha512sums="e546dd6022df3a6de606e57f184820c693cc5533b9e101a42dbca577d20e0ccd32b5f3cfb579bf94cf7ecbfb86fa0915427ab0c93ee9a94f66ffa54ff50ccfd1  rdfind-1.3.5.tar.gz"