Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
mate-sensors-applet


Commits:
2175e936 by Robin Candau at 2024-09-09T22:20:26+02:00
upgpkg: 1.28.0-2: Update licenses + use SPDX identifiers, use more transparent 
source, add nvchecker integration
https://archlinux.org/todo/general-mate-packages-rework/

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,20 +1,23 @@
 pkgbase = mate-sensors-applet
        pkgdesc = A MATE Panel applet to display readings from hardware 
sensors, including CPU temperature, fan speeds and voltage readings
        pkgver = 1.28.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://mate-desktop.org
        arch = x86_64
        groups = mate-extra
-       license = GPL
+       license = GPL-2.0-or-later
+       makedepends = autoconf-archive
        makedepends = docbook-xsl
        makedepends = itstool
+       makedepends = mate-common
+       makedepends = yelp-tools
        depends = udisks2
        depends = libnotify
        depends = libxnvctrl
        depends = lm_sensors
        depends = mate-panel
        depends = gettext
-       source = 
https://pub.mate-desktop.org/releases/1.28/mate-sensors-applet-1.28.0.tar.xz
-       sha256sums = 
d465366682af8feb8618283c9789e8b70db6fd17ca8fa950ac6f710102315a81
+       source = 
mate-sensors-applet-1.28.0.tar.gz::https://github.com/mate-desktop/mate-sensors-applet/archive/refs/tags/v1.28.0.tar.gz
+       sha256sums = 
bc4c8a532c385b93cc091210728fe0c35e53c8eda9fd144e80a649ccce368b2e
 
 pkgname = mate-sensors-applet


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[mate-sensors-applet]
+source = "git"
+git = "https://github.com/mate-desktop/mate-sensors-applet.git";
+prefix = "v"


=====================================
PKGBUILD
=====================================
@@ -4,29 +4,35 @@
 
 pkgname=mate-sensors-applet
 pkgver=1.28.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A MATE Panel applet to display readings from hardware sensors, 
including CPU temperature, fan speeds and voltage readings"
 url="https://mate-desktop.org";
 arch=('x86_64')
-license=('GPL')
+license=('GPL-2.0-or-later')
 depends=('udisks2' 'libnotify' 'libxnvctrl' 'lm_sensors' 'mate-panel' 
'gettext')
-makedepends=('docbook-xsl' 'itstool')
+makedepends=('autoconf-archive' 'docbook-xsl' 'itstool' 'mate-common' 
'yelp-tools')
 groups=('mate-extra')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz";)
-sha256sums=('d465366682af8feb8618283c9789e8b70db6fd17ca8fa950ac6f710102315a81')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mate-desktop/mate-sensors-applet/archive/refs/tags/v${pkgver}.tar.gz";)
+sha256sums=('bc4c8a532c385b93cc091210728fe0c35e53c8eda9fd144e80a649ccce368b2e')
+
+prepare() {
+       cd "${pkgname}-${pkgver}"
+       ./autogen.sh
+}
 
 build() {
        cd "${pkgname}-${pkgver}"
        ./configure \
                    --prefix=/usr \
-                   --libexecdir=/usr/lib/${pkgname}
-
-       #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-       sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
+                   --libexecdir="/usr/lib/${pkgname}"
        make
 }
 
+check() {
+       cd "${pkgname}-${pkgver}"
+       make check
+}
+
 package() {
        cd "${pkgname}-${pkgver}"
        make DESTDIR="${pkgdir}" install



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mate-sensors-applet/-/commit/2175e936b2238ade86d711cc9ae5c48cda302332

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mate-sensors-applet/-/commit/2175e936b2238ade86d711cc9ae5c48cda302332
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to