blob: 623b7f5c782fccfd8525d13e4c4c6004d553035e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#Maintainer: Brian Bidulock <bidulock@openss7.org>
#Contributor: Georgo10 <georgo10 at gmail.com>
pkgname=wmhdplop
pkgver=0.9.9
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')
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"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm0755 gkhdplop.so "$pkgdir/usr/lib/gkrellm/gkhdplop.so"
}
|