blob: 694a25a5f1e1e4f016cf035d29b8dcb182a56660 (
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
34
35
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=wmcpumon
pkgver=1.02
_pkgver=2011-05-02-14
pkgrel=4
pkgdesc="A windowmaker dockapp which shows the usage of each cpu in the system"
arch=('i686' 'x86_64')
#url="http://dockapps.windowmaker.org/file.php/id/360"
#url="http://web.archive.org/web/20121102084732/http://dockapps.windowmaker.org/file.php/id/360"
url="http://wmcpumon.sourceforge.net/"
license=('AGPL3')
groups=('x11')
depends=('libxext' 'libxcb' 'xcb-util' 'xcb-util-wm' 'xcb-util-image')
#source=("http://dockapps.windowmaker.org/download.php/id/872/$pkgname-$_pkgver.tar.bz2")
#source=("$pkgname-$_pkgver.tar.bz2")
source=("http://wmcpumon.sourceforge.net/$pkgname-$_pkgver.tar.bz2")
md5sums=('368ebfb30be65ac2a0c107111ad8df86')
prepare() {
cd "$srcdir/$pkgname"
sed -i 's,sse->code,sse->state,' wmcpumon.c
}
build() {
cd "$srcdir/$pkgname"
make
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
install -Dm644 $pkgname.1 $pkgdir/usr/share/man/man1/$pkgname.1
install -Dm644 README $pkgdir/usr/share/doc/$pkgname/README
}
|