extra/mate-sensors-applet to 1.28.0-3

This commit is contained in:
Kevin Mihelich 2024-09-11 10:30:00 +00:00
parent 993aacff20
commit d5e8ea3065
3 changed files with 22 additions and 14 deletions

View file

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

View file

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

View file

@ -7,26 +7,27 @@
pkgname=mate-sensors-applet pkgname=mate-sensors-applet
pkgver=1.28.0 pkgver=1.28.0
pkgrel=1 pkgrel=3
pkgdesc="A MATE Panel applet to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings" pkgdesc="A MATE Panel applet to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings"
url="https://mate-desktop.org" url="https://mate-desktop.org"
arch=('x86_64') arch=('x86_64')
license=('GPL') license=('GPL-2.0-or-later')
depends=('udisks2' 'libnotify' 'lm_sensors' 'mate-panel' 'gettext') depends=('udisks2' 'libnotify' 'lm_sensors' 'mate-panel' 'gettext')
makedepends=('docbook-xsl' 'itstool') makedepends=('autoconf-archive' 'docbook-xsl' 'itstool' 'mate-common' 'yelp-tools')
groups=('mate-extra') groups=('mate-extra')
source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz") source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mate-desktop/mate-sensors-applet/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('d465366682af8feb8618283c9789e8b70db6fd17ca8fa950ac6f710102315a81') sha256sums=('bc4c8a532c385b93cc091210728fe0c35e53c8eda9fd144e80a649ccce368b2e')
prepare() {
cd "${pkgname}-${pkgver}"
./autogen.sh
}
build() { build() {
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libexecdir=/usr/lib/${pkgname} --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
make make
} }