aboutsummaryrefslogtreecommitdiffstats
path: root/community/duperemove/APKBUILD
blob: 21e43f776771f88f6a310d3f0dacb871afc56435 (plain) (blame)
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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=duperemove
pkgver=0.11.2
pkgrel=0
pkgdesc="Tools for deduping file systems"
url="https://github.com/markfasheh/duperemove"
arch="all"
license="GPL-2.0-only"
makedepends="glib-dev linux-headers sqlite-dev"
options="!check"  # no tests provided
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/markfasheh/duperemove/archive/v$pkgver.tar.gz"

[ "$CARCH" = "riscv64" ] && options="$options textrels"

build() {
	make
}

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

sha512sums="
139e1fbe20eb82a6e8a51fa8ef93db5bcd129cb5065bd86db62657c3d29177dc970c8801fdf233c145f3e0f8b962beec4c6cf9eeaeb7d8c5b16ecc0ddbd363fb  duperemove-0.11.2.tar.gz
"