[arch-commits] Commit in fdupes/trunk (PKGBUILD)
Xyne
xyne at archlinux.org
Mon Feb 29 23:57:01 UTC 2016
Date: Tuesday, March 1, 2016 @ 00:57:00
Author: xyne
Revision: 163829
upgpkg: fdupes 1.51-4
FS#48208
Modified:
fdupes/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-29 23:51:09 UTC (rev 163828)
+++ PKGBUILD 2016-02-29 23:57:00 UTC (rev 163829)
@@ -5,29 +5,32 @@
pkgname=fdupes
pkgver=1.51
-pkgrel=3
+pkgrel=4
pkgdesc="a program for identifying or deleting duplicate files residing within specified directories"
arch=('i686' 'x86_64')
url="https://github.com/adrianlopezroche/fdupes"
license=('MIT')
depends=(glibc)
-source=(https://github.com/adrianlopezroche/fdupes/archive/master.zip LICENSE)
-sha256sums=('367dafb279558e5a857f4389243c2dc6cee1164a9de7110292df89c89d6991b0'
+makedepends=(git)
+source=(https://github.com/adrianlopezroche/fdupes/archive/$pkgname-$pkgver.tar.gz LICENSE)
+# Alternatively
+# source=(git://github.com/adrianlopezroche/fdupes.git#tag=$pkgname-$pkgver LICENSE)
+sha256sums=('SKIP'
'6300e5a838d8a0f08b412742cb755c22708970aef420dbad5dc65ca7de677e39')
build() {
- cd "$srcdir/$pkgname-master"
+ cd $pkgname-$pkgname-$pkgver
make PREFIX=/usr
}
package(){
- cd "$srcdir/$pkgname-master"
- install -d "$pkgdir"/usr/{share/man/man1,bin}
- make \
- PREFIX="/usr" \
- DESTDIR="$pkgdir" \
- install
- install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ cd $pkgname-$pkgname-$pkgver
+ # This works on the master branch but not for the 1.51 tag.
+ # install -d "$pkgdir"/usr/{share/man/man1,bin} # remnant from old PKGBUILD
+ #make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm755 fdupes "$pkgdir/usr/bin/fdupes"
+ install -Dm644 fdupes.1 "$pkgdir/usr/share/man/man1/fdupes.1"
}
# vim: set ts=2 sw=2 et:
More information about the arch-commits
mailing list