23 lines
721 B
Bash
23 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
|
|
}
|