[arch-commits] Commit in fdupes/trunk (PKGBUILD)

Xyne xyne at archlinux.org
Wed Aug 24 15:41:58 UTC 2016


    Date: Wednesday, August 24, 2016 @ 15:41:57
  Author: xyne
Revision: 187456

upgpkg: fdupes 1:1.6.1-1

updated from 1.51 to 1.6.1, epoch bump

Modified:
  fdupes/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-24 15:34:16 UTC (rev 187455)
+++ PKGBUILD	2016-08-24 15:41:57 UTC (rev 187456)
@@ -4,28 +4,35 @@
 # Contributor: Chris Winter <twidds at gmail dot com>
 
 pkgname=fdupes
-pkgver=1.51
-pkgrel=4
+pkgver=1.6.1
+pkgrel=1
+# Version changed from 1.51 to 1.6.1
+epoch=1
 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')
+license=(custom)
 depends=(glibc)
 makedepends=(git)
-source=(https://github.com/adrianlopezroche/fdupes/archive/$pkgname-$pkgver.tar.gz LICENSE)
+source=(
+  https://github.com/adrianlopezroche/fdupes/archive/v$pkgver.tar.gz
+  LICENSE
+)
 # Alternatively
 # source=(git://github.com/adrianlopezroche/fdupes.git#tag=$pkgname-$pkgver LICENSE)
-sha256sums=('SKIP'
-            '6300e5a838d8a0f08b412742cb755c22708970aef420dbad5dc65ca7de677e39')
+sha256sums=(
+  'SKIP'
+  '6300e5a838d8a0f08b412742cb755c22708970aef420dbad5dc65ca7de677e39'
+)
 
 build() {
-  cd $pkgname-$pkgname-$pkgver
-  make  PREFIX=/usr
+  cd $pkgname-$pkgver
+  make PREFIX=/usr
 }
 
 package(){
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  cd $pkgname-$pkgname-$pkgver
+  cd $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



More information about the arch-commits mailing list