void-packages/srcpkgs/duperemove/template
Anthony Iliopoulos 91e35287a0 duperemove: update to 0.11.2.
Close: #26412
2020-12-26 12:05:16 +07:00

22 lines
721 B
Bash

# Template file for 'duperemove'
pkgname=duperemove
version=0.11.2
revision=1
hostmakedepends="pkg-config"
makedepends="sqlite-devel libglib-devel libgcrypt-devel libatomic-devel"
short_desc="Tools for deduping file systems"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/markfasheh/duperemove"
distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
checksum=6e3549fc938d1fb5ede0a362b6860ccefe28af60dde11f7b8d4ba3d2a863b96a
do_build() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
export LIBRARY_FLAGS=-latomic
fi
make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
}
do_install() {
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
}