36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=fdupes
|
|
pkgver=2.2.1
|
|
_debver=$pkgver
|
|
_debrel=1
|
|
pkgrel=1
|
|
epoch=1
|
|
pkgdesc="A program for identifying or deleting duplicate files residing within specified directories"
|
|
arch=('i686' 'x86_64')
|
|
url='https://github.com/adrianlopezroche/fdupes'
|
|
license=('Expat')
|
|
depends=('glibc' 'ncurses' 'pcre2')
|
|
source=("https://github.com/adrianlopezroche/fdupes/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
|
"https://deb.debian.org/debian/pool/main/f/fdupes/fdupes_${_debver}-${_debrel}.debian.tar.xz")
|
|
sha512sums=('4911d2f776480691e7bd7045c181d49159add5b479188b05f0878a7af365cee0e430093e71ff172c04b876c58efc3be0f24c9d25f0cdebf1c869931175bc8608'
|
|
'5e252c0c778883815c5f654e987d6ef196c1473b3fa9077a88b5583cc504192bdbee45545eef7a6c9fac39914d11d4b4d3e3b6048d587e9cb9f91029dc14a9e5')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
mv "$srcdir"/debian .
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure \
|
|
--prefix=/usr
|
|
make PREFIX=/usr
|
|
}
|
|
|
|
package(){
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 debian/copyright -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
}
|