diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-08-08 23:41:14 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-08-08 23:41:14 -0300 |
commit | 99abc4d44babcdd8def84f15ab6569acf81c7bfc (patch) | |
tree | 6be677abe583de39b74f25086b92eb6bb4cc259c /libre/mate-sensors-applet-gtk3 | |
parent | 55aff340cff4042468ba993e6722e005e082ebbd (diff) | |
download | abslibre-99abc4d44babcdd8def84f15ab6569acf81c7bfc.tar.gz abslibre-99abc4d44babcdd8def84f15ab6569acf81c7bfc.tar.bz2 abslibre-99abc4d44babcdd8def84f15ab6569acf81c7bfc.zip |
mate-sensors-applet-gtk3: add new package to [libre] - Freedom issue #1051 -> https://labs.parabola.nu/issues/1051
Diffstat (limited to 'libre/mate-sensors-applet-gtk3')
-rw-r--r-- | libre/mate-sensors-applet-gtk3/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/mate-sensors-applet-gtk3/PKGBUILD b/libre/mate-sensors-applet-gtk3/PKGBUILD new file mode 100644 index 000000000..7c1b9e769 --- /dev/null +++ b/libre/mate-sensors-applet-gtk3/PKGBUILD @@ -0,0 +1,36 @@ +# Contributor (Arch): Martin Wimpress <code@flexion.org> +# Maintainer: André Silva <emulatorman@parabola.nu> + +_ver=1.14 +_pkgbase=mate-sensors-applet +pkgname=(${_pkgbase}-gtk3) +pkgver=${_ver}.0 +pkgrel=1.parabola1 +pkgdesc="A MATE Panel applet to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings (GTK3 version), without nonfree libxnvctrl support" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libatasmart' 'libnotify' 'lm_sensors' 'mate-panel-gtk3') +makedepends=('docbook-xsl' 'intltool' 'itstool') +groups=('mate-extra-gtk3') +conflicts=("${_pkgbase}") +source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz") +sha1sums=('3662e22a2d960ebb145e43b669dc320543cb1e06') + +build() { + cd "${srcdir}/${_pkgbase}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${_pkgbase} \ + --with-gtk=3.0 + + #https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd "${srcdir}/${_pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |