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

Xyne xyne at archlinux.org
Sun Mar 15 22:27:32 UTC 2020


    Date: Sunday, March 15, 2020 @ 22:27:31
  Author: xyne
Revision: 598729

upgpkg: fdupes 1:2.0.0-1: updated to 2.0.0

Modified:
  fdupes/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-15 22:27:01 UTC (rev 598728)
+++ PKGBUILD	2020-03-15 22:27:31 UTC (rev 598729)
@@ -3,8 +3,8 @@
 # Contributor: Chris Winter <twidds at gmail dot com>
 
 pkgname=fdupes
-pkgver=1.6.1
-pkgrel=2
+pkgver=2.0.0
+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"
@@ -11,30 +11,33 @@
 arch=('x86_64')
 url="https://github.com/adrianlopezroche/fdupes"
 license=(custom)
-depends=(glibc)
+depends=(glibc ncurses pcre2)
 makedepends=(git)
 source=(
-  https://github.com/adrianlopezroche/fdupes/archive/v$pkgver.tar.gz
+  https://github.com/adrianlopezroche/fdupes/releases/download/${pkgver}/fdupes-${pkgver}.tar.gz
   LICENSE
 )
 # Alternatively
 # source=(git://github.com/adrianlopezroche/fdupes.git#tag=$pkgname-$pkgver LICENSE)
-sha512sums=('6c6662b70068c2f48f4be64a6830c81a66852d650391d0756f20b9ac0df7d70c1a32918bd7cbd50e19de524d9ebc09ea338c19636e1807b071eb96b325e641db'
+sha512sums=('3c76cfba1cc650f6e680933cda6236e2110018d8a6a132e146d0d61c8f44cac5944e9966b1f3de5847aca6f233ab4df9b180888e0f4b3e3fa5ae8c5f9cb1484f'
             '40a005755c406c394506fdacad79140a4bdcb4474024832edc81c6d5f8524be9f2b8f504c5492cbab1cfd6bed86e72ff29d665eab3dec171468de490cf156381')
 
 build() {
   cd $pkgname-$pkgver
+  ./configure --prefix=/usr
   make PREFIX=/usr
 }
 
 package(){
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  # 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
+  # install -Dm755 fdupes "$pkgdir/usr/bin/fdupes"
+  # install -Dm644 fdupes.1 "$pkgdir/usr/share/man/man1/fdupes.1"
   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
-  install -Dm755 fdupes "$pkgdir/usr/bin/fdupes"
-  install -Dm644 fdupes.1 "$pkgdir/usr/share/man/man1/fdupes.1"
+  make DESTDIR="$pkgdir" install
 }
 
 # vim: set ts=2 sw=2 et:



More information about the arch-commits mailing list