Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
thunar-media-tags-plugin


Commits:
525ca157 by Robin Candau at 2024-09-18T09:48:15+02:00
upgpkg: 0.4.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)

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,15 +1,17 @@
 pkgbase = thunar-media-tags-plugin
        pkgdesc = Adds special features for media files to the Thunar File 
Manager
        pkgver = 0.4.0
-       pkgrel = 2
+       pkgrel = 3
        url = https://docs.xfce.org/xfce/thunar/media-tags
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL
+       license = GPL-2.0-or-later
+       makedepends = git
        makedepends = intltool
+       makedepends = xfce4-dev-tools
        depends = taglib
        depends = thunar
-       source = 
https://archive.xfce.org/src/thunar-plugins/thunar-media-tags-plugin/0.4/thunar-media-tags-plugin-0.4.0.tar.bz2
-       sha256sums = 
9592111e11699e449c1fbd5f72d1633ef39b00f17a988cd251ba228dab4fc90a
+       source = 
git+https://gitlab.xfce.org/thunar-plugins/thunar-media-tags-plugin.git#tag=thunar-media-tags-plugin-0.4.0
+       sha256sums = 
9ee0e933ecdbb6a3c0b49fd5bef354133d8b331f5cf682db1e174d9b32b624ed
 
 pkgname = thunar-media-tags-plugin


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[thunar-media-tags-plugin]
+source = "git"
+git = "https://gitlab.xfce.org/thunar-plugins/thunar-media-tags-plugin.git";
+prefix = "thunar-media-tags-plugin-"


=====================================
PKGBUILD
=====================================
@@ -1,32 +1,36 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Andrew Simmons <[email protected]>
 
 pkgname=thunar-media-tags-plugin
 pkgver=0.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Adds special features for media files to the Thunar File Manager"
 arch=('x86_64')
-license=('GPL')
+license=('GPL-2.0-or-later')
 url="https://docs.xfce.org/xfce/thunar/media-tags";
 groups=('xfce4-goodies')
 depends=('taglib' 'thunar')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/thunar-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('9592111e11699e449c1fbd5f72d1633ef39b00f17a988cd251ba228dab4fc90a')
+makedepends=('git' 'intltool' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/thunar-plugins/thunar-media-tags-plugin.git#tag=$pkgname-$pkgver";)
+sha256sums=('9ee0e933ecdbb6a3c0b49fd5bef354133d8b331f5cf682db1e174d9b32b624ed')
 
-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-media-tags-plugin/-/commit/525ca157c99c050e2ff480fcd09e60677854d94c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/thunar-media-tags-plugin/-/commit/525ca157c99c050e2ff480fcd09e60677854d94c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to