diff options
Diffstat (limited to 'unmaintained/xfce4-sensors-plugin')
-rw-r--r-- | unmaintained/xfce4-sensors-plugin/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/unmaintained/xfce4-sensors-plugin/APKBUILD b/unmaintained/xfce4-sensors-plugin/APKBUILD new file mode 100644 index 0000000000..79b1a11a29 --- /dev/null +++ b/unmaintained/xfce4-sensors-plugin/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=xfce4-sensors-plugin +pkgver=1.2.6 +pkgrel=0 +pkgdesc="Reads your hardware sensor values and displays them in your panel" +url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin" +arch="all" +license="GPLv2" +depends="" +depends_dev="xfce4-panel-dev lm_sensors-dev libxfce4ui-dev" +makedepends="$depends_dev bash" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://archive.xfce.org/src/panel-plugins/$pkgname/1.2/$pkgname-$pkgver.tar.bz2" + +_builddir="$srcdir"/xfce4-sensors-plugin-$pkgver + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-static \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="33c2e343c1224d9c4ae757a70cbe08eb xfce4-sensors-plugin-1.2.6.tar.bz2" +sha256sums="235ef842bd45e701bceebb21a384ab09f21afceea8ed95f91bb4c6cf3abe1bc0 xfce4-sensors-plugin-1.2.6.tar.bz2" +sha512sums="5c520f1c253df1bb9e29855c5ccfc1536034945ca68b43cd8b6d97083e528b2430230d9c51d43953a71c3f0171ae718bf1557714729b1343ebd51f91f3f36d60 xfce4-sensors-plugin-1.2.6.tar.bz2" |