diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -2,23 +2,29 @@ # Contributor: Arnoud Willemsen <mail at lynthium dot com> pkgname=jdupes-git -pkgver=1.22.0.r7.g3a87ac5 +pkgver=1.23.0.r0.gae3cce7 pkgrel=1 pkgdesc='A program for identifying duplicate files residing within specified directories (git)' arch=(i686 x86_64) url=https://github.com/jbruchon/jdupes license=(MIT) -depends=(glibc libjodycode) +depends=(glibc libjodycode xxhash) makedepends=(git) provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -source=(git+"${url}".git) -sha256sums=('SKIP') +source=(git+"${url}".git + system-xxhash.patch) +sha256sums=('SKIP' + 'b68853cefa710ad4941feee40fc420afc6941d8664f2a1c22d1a5678f57a6057') pkgver() { git -C "${pkgname%-git}" describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + patch --directory="${pkgname%-git}" --forward --strip=1 --input="${srcdir}/system-xxhash.patch" +} + build() { cd "${pkgname%-git}" make ENABLE_BTRFS=1 ENABLE_DEDUPE=1 STATIC_DEDUPE_H=1 |