[arch-commits] Commit in sensors-applet/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:52:27 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:52:27
  Author: felixonmars
Revision: 659895

archrelease: copy trunk to community-staging-x86_64

Added:
  sensors-applet/repos/community-staging-x86_64/
  sensors-applet/repos/community-staging-x86_64/PKGBUILD
    (from rev 659893, sensors-applet/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: sensors-applet/repos/community-staging-x86_64/PKGBUILD (from rev 659893, sensors-applet/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:52:27 UTC (rev 659895)
@@ -0,0 +1,40 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=sensors-applet
+pkgver=3.0.0+13+g0728426
+pkgrel=3
+pkgdesc="Applet for GNOME Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings"
+arch=('x86_64')
+url="http://sensors-applet.sourceforge.net/"
+license=('GPL')
+depends=('gnome-panel' 'libatasmart' 'libxnvctrl' 'lm_sensors')
+makedepends=('git' 'gnome-common' 'intltool' 'yelp-tools')
+optdepends=('hddtemp: get HDD temperatures')
+_commit=07284262768e3a7066da09845370d78526be6bc1  # master
+source=("$pkgname::git+https://git.code.sf.net/p/sensors-applet/code#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --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
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list