Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
fdupes


Commits:
b5a251be by Carl Smedstad at 2024-09-27T23:59:48+02:00
Reformat PKGBUILD, specify correct license MIT, use transparent source

- - - - -
d7bdb649 by Carl Smedstad at 2024-09-28T00:03:41+02:00
upgpkg: 1:2.3.2-1: Upstream release

https://github.com/adrianlopezroche/fdupes/releases/tag/v2.3.2
https://github.com/adrianlopezroche/fdupes/releases/tag/v2.3.1
https://github.com/adrianlopezroche/fdupes/releases/tag/v2.3.0

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,18 +1,16 @@
 pkgbase = fdupes
        pkgdesc = a program for identifying or deleting duplicate files 
residing within specified directories
-       pkgver = 2.2.1
-       pkgrel = 3
+       pkgver = 2.3.2
+       pkgrel = 1
        epoch = 1
        url = https://github.com/adrianlopezroche/fdupes
        arch = x86_64
-       license = custom
-       makedepends = git
+       license = MIT
        depends = glibc
        depends = ncurses
        depends = pcre2
-       source = 
https://github.com/adrianlopezroche/fdupes/releases/download/v2.2.1/fdupes-2.2.1.tar.gz
-       source = LICENSE
-       sha512sums = 
4911d2f776480691e7bd7045c181d49159add5b479188b05f0878a7af365cee0e430093e71ff172c04b876c58efc3be0f24c9d25f0cdebf1c869931175bc8608
-       sha512sums = 
2b006d12a4d0ffad519fc96d3bf58d11812dc30aa175d07f1966885d7eb096fa8bb5b1e8915d2ff8a010c6826b34b4067f7aac1cc5d5338473a806db3b130355
+       depends = sqlite
+       source = 
fdupes-2.3.2.tar.gz::https://github.com/adrianlopezroche/fdupes/archive/v2.3.2.tar.gz
+       sha256sums = 
735f0a8f3076184ee1966c5671dac05df5a9ab40ac04dce374ccb9fe43560398
 
 pkgname = fdupes


=====================================
PKGBUILD
=====================================
@@ -1,43 +1,45 @@
 # Maintainer: Xyne <ca dot archlinux at xyne, backwards>
+# Maintainer: Carl Smedstad <[email protected]>
 # Contributor: Daenyth <Daenyth+Arch at gmail dot com>
 # Contributor: Chris Winter <twidds at gmail dot com>
 
 pkgname=fdupes
-pkgver=2.2.1
-pkgrel=3
-# Version changed from 1.51 to 1.6.1
-epoch=1
+pkgver=2.3.2
+pkgrel=1
+epoch=1 # Version changed from 1.51 to 1.6.1
 pkgdesc="a program for identifying or deleting duplicate files residing within 
specified directories"
-arch=('x86_64')
+arch=(x86_64)
 url="https://github.com/adrianlopezroche/fdupes";
-license=(custom)
-depends=(glibc ncurses pcre2)
-makedepends=(git)
-source=(
-  
https://github.com/adrianlopezroche/fdupes/releases/download/v${pkgver}/fdupes-${pkgver}.tar.gz
-  LICENSE
+license=(MIT)
+depends=(
+  glibc
+  ncurses
+  pcre2
+  sqlite
 )
-# Alternatively
-# source=(git+https://github.com/adrianlopezroche/fdupes.git#tag=v$pkgver 
LICENSE)
-sha512sums=('4911d2f776480691e7bd7045c181d49159add5b479188b05f0878a7af365cee0e430093e71ff172c04b876c58efc3be0f24c9d25f0cdebf1c869931175bc8608'
-            
'2b006d12a4d0ffad519fc96d3bf58d11812dc30aa175d07f1966885d7eb096fa8bb5b1e8915d2ff8a010c6826b34b4067f7aac1cc5d5338473a806db3b130355')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('735f0a8f3076184ee1966c5671dac05df5a9ab40ac04dce374ccb9fe43560398')
+
+prepare() {
+  cd $pkgname-$pkgver
+  autoreconf --install
+}
 
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr
-  make PREFIX=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
 }
 
 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
   make DESTDIR="$pkgdir" install
+  # Extract license information from README
+  sed -n '/^Legal Information/,$p' README \
+    | install -vDm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 
 }
-
-# vim: set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fdupes/-/compare/8554f672ae476f2070afc8ca6e601e6206f9e81c...d7bdb649dbaa2490eec9fb91b233a81414526867

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fdupes/-/compare/8554f672ae476f2070afc8ca6e601e6206f9e81c...d7bdb649dbaa2490eec9fb91b233a81414526867
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to