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


Commits:
48b58510 by Robin Candau at 2024-09-19T13:51:30+02:00
upgpkg: 4.2.0-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,15 +1,17 @@
 pkgbase = xfce4-genmon-plugin
        pkgdesc = plugin that monitors customizable programs stdout for the 
Xfce4 panel
        pkgver = 4.2.0
-       pkgrel = 2
-       url = https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin
+       pkgrel = 3
+       url = https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin/start
        arch = x86_64
        groups = xfce4-goodies
-       license = LGPL2.1
+       license = LGPL-2.1-only
+       makedepends = git
        makedepends = intltool
+       makedepends = xfce4-dev-tools
        depends = xfce4-panel
        depends = hicolor-icon-theme
-       source = 
https://archive.xfce.org/src/panel-plugins/xfce4-genmon-plugin/4.2/xfce4-genmon-plugin-4.2.0.tar.bz2
-       sha256sums = 
948d08ee5f2140847f109b531bc1d4cc6268496913ea7600d3c5ad89025a0362
+       source = 
git+https://gitlab.xfce.org/panel-plugins/xfce4-genmon-plugin.git#tag=xfce4-genmon-plugin-4.2.0
+       sha256sums = 
209025af88768d6c206268d9cbe5ac6328bb4d9f187704bcb49251fd91f0d8f9
 
 pkgname = xfce4-genmon-plugin


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,6 @@
+[xfce4-genmon-plugin]
+source = "git"
+git = "https://gitlab.xfce.org/panel-plugins/xfce4-genmon-plugin.git";
+prefix = "xfce4-genmon-plugin-"
+use_max_tag = true
+exclude_regex = "4.0.2.*|V.*|v.*"


=====================================
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-genmon-plugin
 pkgver=4.2.0
-pkgrel=2
+pkgrel=3
 pkgdesc="plugin that monitors customizable programs stdout for the Xfce4 panel"
 arch=('x86_64')
-license=('LGPL2.1')
-url="https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin";
+license=('LGPL-2.1-only')
+url="https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin/start";
 groups=('xfce4-goodies')
 depends=('xfce4-panel' 'hicolor-icon-theme')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('948d08ee5f2140847f109b531bc1d4cc6268496913ea7600d3c5ad89025a0362')
+makedepends=('git' 'intltool' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-genmon-plugin.git#tag=$pkgname-$pkgver";)
+sha256sums=('209025af88768d6c206268d9cbe5ac6328bb4d9f187704bcb49251fd91f0d8f9')
 
-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-genmon-plugin/-/commit/48b5851050bf11405e547f71336a806e845f75d3

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


Reply via email to