summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBrian Bidulock2014-05-10 16:37:30 -0600
committerBrian Bidulock2015-06-10 22:53:42 -0600
commitdd42c113c559eff4edf30f705f353dbb4f599dd5 (patch)
treea4212ad2626de6956972ba84a062930505519449 /PKGBUILD
parent9ea12d7428f1f507ed3305f588e86b1a66b21344 (diff)
downloadaur-wmhdplop.tar.gz
version 0.9.9-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
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"
}