2023-10-01 08:54:58 +00:00

30 lines
987 B
Plaintext

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=duperemove
pkgver=0.13
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/refs/tags/v$pkgver.tar.gz
dbfile-dev_t.patch
"
build() {
# Defining this 2 variables prevents make from calling git
make VERSION=$pkgver IS_RELEASE=1
}
package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
}
sha512sums="
e24fa9f658acf1c1badd797af719f81250861b9af4595cf96aa3583fe558a2fba7390bc06184f6a4b6c76be3c8b214d6a6ead8b0de6914a5e1df053d5e7e24e7 duperemove-0.13.tar.gz
1dd9b27d24f0639da524db11e8c0432b386209ee5fefad0486e17122baec57f8fea9c320015a70ee7777fb443db956edc0dbf08982d1b7cc36a66728b7285044 dbfile-dev_t.patch
"