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
|
2012-03-16 22:51:37 +08:00
|
|
|
pkgdesc="A program for identifying or deleting duplicate files residing within specified directories"
|
2013-12-09 01:27:20 +08:00
|
|
|
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')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('utils')
|
2016-08-21 18:35:47 +08:00
|
|
|
source=("https://github.com/adrianlopezroche/fdupes/archive/v$pkgver.tar.gz"
|
2013-12-09 01:27:20 +08:00
|
|
|
LICENSE)
|
2016-08-21 18:35:47 +08:00
|
|
|
sha1sums=('e6c26e2012927ebecab33f00280cabbb0aef702d'
|
2013-12-09 01:27:20 +08:00
|
|
|
'03f106f6fc05c04ede59598a3f48ce472ab633fb')
|
|
|
|
|
2011-12-07 06:12:22 +08:00
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2013-12-09 01:27:20 +08:00
|
|
|
sed 's|/usr/local|/usr|' -i Makefile
|
|
|
|
make
|
2011-12-07 06:12:22 +08:00
|
|
|
}
|
|
|
|
package(){
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2013-12-09 01:27:20 +08:00
|
|
|
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
|
|
|
}
|