Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
thunar-volman


Commits:
906cc101 by Robin Candau at 2024-09-18T10:03:39+02:00
upgpkg: 4.18.0-3 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)
- Add nvchecker integration (.nvchecker.toml)

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,18 @@
 pkgbase = thunar-volman
        pkgdesc = Automatic management of removable drives and media for Thunar
        pkgver = 4.18.0
-       pkgrel = 2
+       pkgrel = 3
        url = https://docs.xfce.org/xfce/thunar/thunar-volman
        arch = x86_64
        groups = xfce4
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
        makedepends = intltool
+       makedepends = xfce4-dev-tools
        depends = thunar
        depends = libxfce4ui
        depends = hicolor-icon-theme
-       source = 
https://archive.xfce.org/src/xfce/thunar-volman/4.18/thunar-volman-4.18.0.tar.bz2
-       sha256sums = 
93b75c7ffbe246a21f4190295acc148e184be8df397e431b258d0d676e87fc65
+       source = 
git+https://gitlab.xfce.org/xfce/thunar-volman.git#tag=thunar-volman-4.18.0
+       sha256sums = 
a4812673cac2b94c9b1603f9c1d45972a5a4ebd193c2cf4f7213c0d4e4ee7783
 
 pkgname = thunar-volman


=====================================
PKGBUILD
=====================================
@@ -1,32 +1,36 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Tobias Kieslich <tobias (at) archlinux.org>
 
 pkgname=thunar-volman
 pkgver=4.18.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Automatic management of removable drives and media for Thunar"
 arch=('x86_64')
 url="https://docs.xfce.org/xfce/thunar/thunar-volman";
-license=('GPL2')
+license=('GPL-2.0-or-later')
 groups=('xfce4')
 depends=('thunar' 'libxfce4ui' 'hicolor-icon-theme')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('93b75c7ffbe246a21f4190295acc148e184be8df397e431b258d0d676e87fc65')
+makedepends=('git' 'intltool' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/xfce/thunar-volman.git#tag=$pkgname-$pkgver";)
+sha256sums=('a4812673cac2b94c9b1603f9c1d45972a5a4ebd193c2cf4f7213c0d4e4ee7783')
 
-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/thunar-volman/-/commit/906cc101d0ff78f5d94f32260202e7594d43612e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/thunar-volman/-/commit/906cc101d0ff78f5d94f32260202e7594d43612e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to