desktop/fdupes/PKGBUILD

27 lines
825 B
Bash
Raw Normal View History

2011-12-07 06:12:22 +08:00
pkgname=fdupes
2016-08-21 18:35:47 +08:00
pkgver=1.6.1
2011-12-07 06:12:22 +08:00
pkgrel=1
2016-08-21 18:35:47 +08:00
epoch=1
pkgdesc="A program for identifying or deleting duplicate files residing within specified directories"
arch=('x86_64')
2016-08-21 18:35:47 +08:00
url="https://github.com/adrianlopezroche/fdupes"
2011-12-07 06:12:22 +08:00
license=('MIT')
categories=('utils')
2016-08-21 18:35:47 +08:00
source=("https://github.com/adrianlopezroche/fdupes/archive/v$pkgver.tar.gz"
LICENSE)
2016-08-21 18:35:47 +08:00
sha1sums=('e6c26e2012927ebecab33f00280cabbb0aef702d'
'03f106f6fc05c04ede59598a3f48ce472ab633fb')
2011-12-07 06:12:22 +08:00
build() {
cd $srcdir/$pkgname-$pkgver
sed 's|/usr/local|/usr|' -i Makefile
make
2011-12-07 06:12:22 +08:00
}
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
2011-12-07 06:12:22 +08:00
}