summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f1d8551b1fe..533ec02a2a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,14 @@
pkgbase = wmhdplop
pkgdesc = A dockapp that monitors your hard-drives
pkgver = 0.9.9
- pkgrel = 2
+ pkgrel = 3
url = http://hules.free.fr/wmhdplop/
arch = i686
arch = x86_64
license = GPL
+ makedepends = gkrellm
depends = imlib2
+ optdepends = gkrellm: to use as gkrellm plugin
source = http://hules.free.fr/wmhdplop/wmhdplop-0.9.9.tar.gz
md5sums = a64337205bc30faa45053965cc957b0e
diff --git a/PKGBUILD b/PKGBUILD
index 397f9da9088..623b7f5c782 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,15 @@
pkgname=wmhdplop
pkgver=0.9.9
-pkgrel=2
+pkgrel=3
pkgdesc="A dockapp that monitors your hard-drives"
url="http://hules.free.fr/wmhdplop/"
md5sums=('1c81cc9d438587399b6fa539e6021221')
arch=('i686' 'x86_64')
license=('GPL')
depends=('imlib2')
+optdepends=('gkrellm: to use as gkrellm plugin')
+makedepends=('gkrellm')
source=("http://hules.free.fr/wmhdplop/$pkgname-$pkgver.tar.gz")
md5sums=('a64337205bc30faa45053965cc957b0e')
@@ -17,6 +19,7 @@ prepare() {
cd "$srcdir/$pkgname-$pkgver"
# imlib2-config is broken
sed -e 's,imlib2-config,pkg-config imlib2,g' -i configure
+ sed -e '/gkhdplop_so_LDFLAGS/s, -Wl , ,' -i Makefile.in
}
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -26,4 +29,5 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+ install -Dm0755 gkhdplop.so "$pkgdir/usr/lib/gkrellm/gkhdplop.so"
}