void-packages/srcpkgs/duperemove/template

21 lines
608 B
Bash

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