desktop/fdupes/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

27 lines
825 B
Bash

pkgname=fdupes
pkgver=1.6.1
pkgrel=1
epoch=1
pkgdesc="A program for identifying or deleting duplicate files residing within specified directories"
arch=('x86_64')
url="https://github.com/adrianlopezroche/fdupes"
license=('MIT')
categories=('utils')
source=("https://github.com/adrianlopezroche/fdupes/archive/v$pkgver.tar.gz"
LICENSE)
sha1sums=('e6c26e2012927ebecab33f00280cabbb0aef702d'
'03f106f6fc05c04ede59598a3f48ce472ab633fb')
build() {
cd $srcdir/$pkgname-$pkgver
sed 's|/usr/local|/usr|' -i Makefile
make
}
package(){
cd $srcdir/$pkgname-$pkgver
install -dm 755 ${pkgdir}/usr/{share/man/man1,bin}
install -Dm 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
install -Dm 644 ${pkgname}.1 ${pkgdir}/usr/share/man/man1
install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}