void-packages/srcpkgs/duperemove/template

21 lines
622 B
Bash

# Template file for 'duperemove'
pkgname=duperemove
version=0.10
revision=1
build_pie=yes
short_desc="Tools for deduping file systems"
maintainer="Enno Boland <gottox@voidlinux.eu>"
hostmakedepends="pkg-config"
makedepends="sqlite-devel libglib-devel libgcrypt-devel"
license="GPL-2"
homepage="https://github.com/markfasheh/duperemove"
distfiles="https://github.com/markfasheh/duperemove/archive/v$version.tar.gz"
checksum=1ef855c4d0a85efc8757edcac5ea7189d896d2f2abad0e572c47f6568cf050aa
do_build() {
make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
}
do_install() {
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
}