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


Commits:
28c0de35 by Robin Candau at 2024-09-20T13:55:11+02:00
upgpkg: 1.4.4-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,20 +1,22 @@
 pkgbase = xfce4-sensors-plugin
        pkgdesc = Sensors plugin for the Xfce panel
        pkgver = 1.4.4
-       pkgrel = 2
-       url = https://docs.xfce.org/panel-plugins/xfce4-sensors-plugin
+       pkgrel = 3
+       url = https://docs.xfce.org/panel-plugins/xfce4-sensors-plugin/start
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
        makedepends = intltool
        makedepends = hddtemp
        makedepends = netcat
+       makedepends = xfce4-dev-tools
        depends = xfce4-panel
        depends = lm_sensors
        depends = libnotify
        depends = hicolor-icon-theme
        optdepends = hddtemp: for monitoring the temperature of hard drives
-       source = 
https://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/1.4/xfce4-sensors-plugin-1.4.4.tar.bz2
-       sha256sums = 
6c1605a738e5df40e084d08ac93f962cd445093396de1e9bfadc7ab4588c36b6
+       source = 
git+https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin.git#tag=xfce4-sensors-plugin-1.4.4
+       sha256sums = 
af044d6d46daf45cc2465216d96860bbc8b533c01833a27843a543157fd69559
 
 pkgname = xfce4-sensors-plugin


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,5 @@
+[xfce4-sensors-plugin]
+source = "git"
+git = "https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin.git";
+prefix = "xfce4-sensors-plugin-"
+exclude_regex = ".*BMEURER_.*|1.*|Release.*|release_.*|help.*"


=====================================
PKGBUILD
=====================================
@@ -1,35 +1,39 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Andreas Radke <[email protected]>
 # Contributor: Merk Matthias <[email protected]>
 
 pkgname=xfce4-sensors-plugin
 pkgver=1.4.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Sensors plugin for the Xfce panel"
 arch=('x86_64')
-url="https://docs.xfce.org/panel-plugins/xfce4-sensors-plugin";
-license=('GPL2')
+url="https://docs.xfce.org/panel-plugins/xfce4-sensors-plugin/start";
+license=('GPL-2.0-or-later')
 groups=('xfce4-goodies')
 depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hicolor-icon-theme')
-makedepends=('intltool' 'hddtemp' 'netcat')
+makedepends=('git' 'intltool' 'hddtemp' 'netcat' 'xfce4-dev-tools')
 optdepends=('hddtemp: for monitoring the temperature of hard drives')
-source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('6c1605a738e5df40e084d08ac93f962cd445093396de1e9bfadc7ab4588c36b6')
+source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin.git#tag=$pkgname-$pkgver";)
+sha256sums=('af044d6d46daf45cc2465216d96860bbc8b533c01833a27843a543157fd69559')
 
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
+prepare() {
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --localstatedir=/var \
     --disable-pathchecks \
     --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-sensors-plugin/-/commit/28c0de35b631949a42429dba1756e2f72dfa6306

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


Reply via email to