diff options
Diffstat (limited to 'community/fdupes/PKGBUILD')
-rw-r--r-- | community/fdupes/PKGBUILD | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/community/fdupes/PKGBUILD b/community/fdupes/PKGBUILD index 9dfae23a5..3b299b2a0 100644 --- a/community/fdupes/PKGBUILD +++ b/community/fdupes/PKGBUILD @@ -1,5 +1,6 @@ -# $Id: PKGBUILD 90262 2013-05-10 16:06:17Z jelle $ -# Maintainer: Daenyth <Daenyth+Arch at gmail dot com> +# $Id: PKGBUILD 97812 2013-09-30 02:00:27Z xyne $ +# Maintainer: Xyne <ca dot archlinux at xyne, backwards> +# Contributor: Daenyth <Daenyth+Arch at gmail dot com> # Contributor: Chris Winter <twidds at gmail dot com> pkgname=fdupes @@ -11,19 +12,24 @@ url="http://code.google.com/p/fdupes/" license=('MIT') depends=(glibc) source=(http://fdupes.googlecode.com/files/$pkgname-$pkgver.tar.gz LICENSE) -md5sums=('47d0410c90c9e51e450933ba35a32b62' - '47f17890218f832f870bf7a02eaeb017') +sha256sums=('87dbc85b7b9cdb9626e713dd8078bd7487bceb58d47ceaff5404a9e6fd062881' + '6300e5a838d8a0f08b412742cb755c22708970aef420dbad5dc65ca7de677e39') build() { - cd $srcdir/$pkgname-$pkgver - + cd "$srcdir/$pkgname-$pkgver" make PREFIX=/usr } -package(){ - cd $srcdir/$pkgname-$pkgver - - install -d ${pkgdir}/usr/{share/man/man1,bin} - make PREFIX=$pkgdir/usr DESTDIR=${pkgdir}/usr/bin INSTALLDIR=${pkgdir}/usr/bin MAN_DIR=${pkgdir}/usr/share/man/man1 install - install -D -m644 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +package(){ + cd "$srcdir/$pkgname-$pkgver" + install -d "$pkgdir"/usr/{share/man/man1,bin} + make \ + PREFIX="$pkgdir/usr" \ + DESTDIR="$pkgdir/usr/bin" \ + INSTALLDIR="$pkgdir"/usr/bin \ + MAN_DIR="$pkgdir"/usr/share/man/man1 \ + install + install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } + +# vim: set ts=2 sw=2 et: |