Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
ristretto


Commits:
2d713ffb by Robin Candau at 2024-09-18T09:15:22+02:00
upgpkg: 0.13.2-2 Overall rework of the PKGBUILD

Context: https://archlinux.org/todo/general-xfce-packages-rework/

- Use SPDX identifier for the license
- Switch to a more transparent source (git sources)

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,18 +1,21 @@
 pkgbase = ristretto
        pkgdesc = A fast and lightweight picture viewer for Xfce
        pkgver = 0.13.2
-       pkgrel = 1
+       pkgrel = 2
        url = https://docs.xfce.org/apps/ristretto/start
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL
+       license = GPL-2.0-or-later
+       makedepends = git
+       makedepends = glib2-devel
        makedepends = python
+       makedepends = xfce4-dev-tools
        depends = libxfce4ui
        depends = xfconf
        depends = tumbler
        depends = libexif
        depends = file
-       source = 
https://archive.xfce.org/src/apps/ristretto/0.13/ristretto-0.13.2.tar.bz2
-       sha256sums = 
779f5ede3016019eec01d64a025583078d3936e35d4288ec2e8433494d757dd9
+       source = 
git+https://gitlab.xfce.org/apps/ristretto.git#tag=ristretto-0.13.2
+       sha256sums = 
cbd9a16e170da48889d7067a33cb6ad92e77089d5529597e3b3b7145dc1e62b9
 
 pkgname = ristretto


=====================================
PKGBUILD
=====================================
@@ -1,4 +1,5 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Alexander F Rødseth <[email protected]>
 # Contributor: Bartłomiej Piotrowski
 # Contributor: AndyRTR <[email protected]>
@@ -6,30 +7,33 @@
 
 pkgname=ristretto
 pkgver=0.13.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A fast and lightweight picture viewer for Xfce"
 arch=('x86_64')
 url="https://docs.xfce.org/apps/ristretto/start";
-license=('GPL')
+license=('GPL-2.0-or-later')
 groups=('xfce4-goodies')
 depends=('libxfce4ui' 'xfconf' 'tumbler' 'libexif' 'file')
-makedepends=('python')
-source=("https://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2";)
-sha256sums=('779f5ede3016019eec01d64a025583078d3936e35d4288ec2e8433494d757dd9')
+makedepends=('git' 'glib2-devel' 'python' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/apps/ristretto.git#tag=$pkgname-$pkgver";)
+sha256sums=('cbd9a16e170da48889d7067a33cb6ad92e77089d5529597e3b3b7145dc1e62b9')
 
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
+prepare() {
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --localstatedir=/var \
     --disable-debug
+}
+
+build() {
+  cd $pkgname
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ristretto/-/commit/2d713ffbad87bab2145d0bc368303ceb211f770b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ristretto/-/commit/2d713ffbad87bab2145d0bc368303ceb211f770b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to