void-packages/srcpkgs/duperemove/template
Jürgen Buchmüller 0e04ea60bc duperemove: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:31 +02:00

19 lines
638 B
Bash

# Template file for 'duperemove'
pkgname=duperemove
version=0.11.1
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"
homepage="https://github.com/markfasheh/duperemove"
distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
checksum=75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8
do_build() {
make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
}
do_install() {
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
}