Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
xfce4-timer-plugin


Commits:
7330054e by Robin Candau at 2024-09-20T23:39:36+02:00
upgpkg: 1.7.2-3 Overall rework of the PKGBUILD

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

- Update URL (point to upstream doc webpage for the package)
- 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,14 +1,16 @@
 pkgbase = xfce4-timer-plugin
        pkgdesc = Plugin to track time for the Xfce4 panel
        pkgver = 1.7.2
-       pkgrel = 2
-       url = https://docs.xfce.org/panel-plugins/xfce4-timer-plugin
+       pkgrel = 3
+       url = https://docs.xfce.org/panel-plugins/xfce4-timer-plugin/start
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
        makedepends = intltool
+       makedepends = xfce4-dev-tools
        depends = xfce4-panel
-       source = 
https://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/1.7/xfce4-timer-plugin-1.7.2.tar.bz2
-       sha256sums = 
feb3b8c2d39505e816683540a3226bd7bda870ccbcb4c7d0f6abfeeff5c58b7d
+       source = 
git+https://gitlab.xfce.org/panel-plugins/xfce4-timer-plugin.git#tag=xfce4-timer-plugin-1.7.2
+       sha256sums = 
157ede1d3487586590bb37e525a6a26ea3045881ac0373c9b08cfc7fa8f6c56e
 
 pkgname = xfce4-timer-plugin


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


=====================================
PKGBUILD
=====================================
@@ -1,33 +1,37 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: AndyRTR <[email protected]>
 # Contributor: Tobias Kieslich <tobias (at) archlinux.org>
 
 pkgname=xfce4-timer-plugin
 pkgver=1.7.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Plugin to track time for the Xfce4 panel"
 arch=('x86_64')
-url="https://docs.xfce.org/panel-plugins/xfce4-timer-plugin";
-license=('GPL2')
+url="https://docs.xfce.org/panel-plugins/xfce4-timer-plugin/start";
+license=('GPL-2.0-or-later')
 groups=('xfce4-goodies')
 depends=('xfce4-panel')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('feb3b8c2d39505e816683540a3226bd7bda870ccbcb4c7d0f6abfeeff5c58b7d')
+makedepends=('git' 'intltool' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-timer-plugin.git#tag=$pkgname-$pkgver";)
+sha256sums=('157ede1d3487586590bb37e525a6a26ea3045881ac0373c9b08cfc7fa8f6c56e')
 
-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/xfce4-timer-plugin/-/commit/7330054e6d8120a16d82e668ffd788ddcea0922b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-timer-plugin/-/commit/7330054e6d8120a16d82e668ffd788ddcea0922b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to