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=e162c2cf99c9d1e1e111cf84fa2615490a7d654173a3719651a962257bf8179e
|
|
|
|
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
|
|
}
|