blob: 0b11abc98d8ec4236e01127ce2d58159f14cd6e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: katt <magunasu.b97@gmail.com>
# Contributor: bitwave < aur aTt oomlu d0t de>
# Contributor: Peter Hoeg <first name at last name dot com>
pkgname=jdupes
pkgver=1.28.0
pkgrel=1
pkgdesc='A program for identifying duplicate files residing within specified directories'
arch=(i686 x86_64)
url=https://www.jdupes.com
license=(MIT)
depends=(glibc libjodycode xxhash)
source=("${pkgname}-${pkgver}.tar.gz::https://codeberg.org/jbruchon/jdupes/archive/v${pkgver}.tar.gz"
jdupes-system-xxhash.patch)
sha256sums=('a8f21c04fff5e3ff0a92e8ac76114b2195ed43dc32b84bf343f5256e7ba9cb04'
'b4df170f8ea5569808e0c4f84a1af24282ea53233db760d97531e50df8eea1c4')
prepare() {
patch --directory="$pkgname" --forward --strip=1 --input="${srcdir}/jdupes-system-xxhash.patch"
}
build() {
cd "${pkgname}"
make ENABLE_BTRFS=1 ENABLE_DEDUPE=1 STATIC_DEDUPE_H=1
}
package() {
cd "${pkgname}"
make PREFIX="/usr" DESTDIR="${pkgdir}" install
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE.txt
}
|