[arch-commits] Commit in xfce4-sensors-plugin/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue May 19 10:09:54 UTC 2020
Date: Tuesday, May 19, 2020 @ 10:09:54
Author: felixonmars
Revision: 386632
archrelease: copy trunk to staging-x86_64
Added:
xfce4-sensors-plugin/repos/staging-x86_64/
xfce4-sensors-plugin/repos/staging-x86_64/PKGBUILD
(from rev 386631, xfce4-sensors-plugin/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: xfce4-sensors-plugin/repos/staging-x86_64/PKGBUILD (from rev 386631, xfce4-sensors-plugin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 10:09:54 UTC (rev 386632)
@@ -0,0 +1,42 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Merk Matthias <macem at chello.at>
+
+pkgname=xfce4-sensors-plugin
+pkgver=1.3.92
+pkgrel=2
+pkgdesc="A lm_sensors plugin for the Xfce panel"
+arch=('x86_64')
+url="https://docs.xfce.org/panel-plugins/xfce4-sensors-plugin"
+license=('GPL2')
+groups=('xfce4-goodies')
+depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hicolor-icon-theme')
+makedepends=('intltool' 'hddtemp' 'netcat')
+optdepends=('hddtemp: for monitoring the temperature of hard drives')
+source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --datadir=/usr/share \
+ --datarootdir=/usr/share \
+ --disable-static \
+ --disable-debug \
+ --disable-pathchecks
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list