diff options
author | Narrat | 2020-01-12 17:06:59 +0100 |
---|---|---|
committer | Narrat | 2020-01-12 17:06:59 +0100 |
commit | a12f6cf7fba42af01fd6476d4b700de295733582 (patch) | |
tree | 3bda15657f4bbf1079849edf6f95dca71da10171 | |
parent | a26dc14885d9649a05911a58286f71d595e3e048 (diff) | |
download | aur-a12f6cf7fba42af01fd6476d4b700de295733582.tar.gz |
Follow Arch community PKGBUILD
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 22 | ||||
-rw-r--r-- | xfce4-sensors-plugin-nvidia.install | 13 |
3 files changed, 13 insertions, 33 deletions
@@ -1,9 +1,8 @@ pkgbase = xfce4-sensors-plugin-nvidia pkgdesc = A lm_sensors plugin for the Xfce panel with nvidia gpu support - pkgver = 1.2.6 - pkgrel = 2 - url = http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin - install = xfce4-sensors-plugin-nvidia.install + pkgver = 1.3.92 + pkgrel = 1 + url = https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin arch = i686 arch = x86_64 groups = xfce4-goodies @@ -18,8 +17,8 @@ pkgbase = xfce4-sensors-plugin-nvidia depends = libxnvctrl optdepends = hddtemp: for monitoring the temperature of hard drives conflicts = xfce4-sensors-plugin - source = http://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/1.2/xfce4-sensors-plugin-1.2.6.tar.bz2 - sha256sums = 235ef842bd45e701bceebb21a384ab09f21afceea8ed95f91bb4c6cf3abe1bc0 + source = https://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/1.3/xfce4-sensors-plugin-1.3.92.tar.bz2 + sha256sums = 3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112 pkgname = xfce4-sensors-plugin-nvidia @@ -1,4 +1,3 @@ -# $Id$ # See AUR interface for current maintainer # Edited to include libxnvctrl dependancy # Based on http://xfce.10915.n7.nabble.com/NVidia-data-td16172.html @@ -8,31 +7,25 @@ # Contributor: Andreas Radke <andyrtr@archlinux.org> # Contributor: Merk Matthias <macem@chello.at> +_pkgname=xfce4-sensors-plugin pkgname=xfce4-sensors-plugin-nvidia -pkgver=1.2.6 -pkgrel=2 +pkgver=1.3.92 +pkgrel=1 pkgdesc="A lm_sensors plugin for the Xfce panel with nvidia gpu support" arch=('i686' 'x86_64') -url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin" +url="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin" license=('GPL2') groups=('xfce4-goodies') depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hicolor-icon-theme' 'libxnvctrl') makedepends=('intltool' 'hddtemp' 'gnu-netcat') optdepends=('hddtemp: for monitoring the temperature of hard drives') conflicts=('xfce4-sensors-plugin') -install=$pkgname.install -# _pkgname lets us rename the package without altering the script too much -_pkgname=xfce4-sensors-plugin -source=(http://archive.xfce.org/src/panel-plugins/$_pkgname/1.2/$_pkgname-$pkgver.tar.bz2) -sha256sums=('235ef842bd45e701bceebb21a384ab09f21afceea8ed95f91bb4c6cf3abe1bc0') +source=(https://archive.xfce.org/src/panel-plugins/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2) +sha256sums=('3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112') build() { cd "$srcdir/$_pkgname-$pkgver" - # Satisfy the check that hddtemp is queryable via netcat - # (https://bugs.archlinux.org/task/28275) - echo ohai | nc -l -p 7634 -s localhost -c & - ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -41,7 +34,8 @@ build() { --datadir=/usr/share \ --datarootdir=/usr/share \ --disable-static \ - --disable-debug + --disable-debug \ + --disable-pathchecks make } diff --git a/xfce4-sensors-plugin-nvidia.install b/xfce4-sensors-plugin-nvidia.install deleted file mode 100644 index e4f8fd06c1ed..000000000000 --- a/xfce4-sensors-plugin-nvidia.install +++ /dev/null @@ -1,13 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} - -# vim:set ts=2 sw=2 et: |