updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / wmtop / PKGBUILD
blob4c2b4c5cf90a7799cd12cfec146677755a89d90b
1 # 'Maintainer': bart9h <rodolfo.borges@gmail.com>
2 pkgname=wmtop
3 pkgver=0.84
4 pkgrel=2
5 pkgdesc="wmapplet for monitoring cpu usage"
6 arch=(i686 x86_64)
7 license=(GPL)
8 url="http://wmtop.sourceforge.net/"
9 depends=('libxpm')
10 makedepends=('xorg-server')
11 source=('http://downloads.sourceforge.net/wmtop/wmtop-0.84.tar.bz2')
12 md5sums=('2bab22c5bc3a5b887e7c03d6dbfe59d7')
14 build () {
15 cd $startdir/src/$pkgname-$pkgver
16 # Some are necessary, some might not be, but they work
17 sed -re "s|/usr/local|${startdir}/pkg/usr|" -i Makefile
18 sed -re "s/X11R6\/lib/lib\/xorg/" -i Makefile
19 sed -re "s/X11R6\/share\/include/include\/xorg/" -i Makefile
20 sed -re "s/X11R6\/include/include\/X11/" -i Makefile
21 install -d $startdir/pkg/usr/bin
22 install -d $startdir/pkg/usr/man/man1
23 make linux
24 make install