1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
7 pkgdesc="A simple program that attempts to limit the CPU usage of a process, expressed in percentage."
9 url="http://$pkgname.sourceforge.net/"
12 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$_pkg-$pkgver.tar.gz")
13 md5sums=('16c0177cc3d9d27b8653a33ba981c682')
16 cd "$srcdir/$_pkg-$pkgver"
18 # rename to limitcpu to not conflict
19 # with cpulimit in [community]
22 sed -i "s|$_pkg|$pkgname|g" Makefile
23 zcat $_pkg.1.gz | sed "s|$_pkg|$pkgname|g" | gzip -9 > $pkgname.1.gz
28 cd "$srcdir/$_pkg-$pkgver"
30 make PREFIX="$pkgdir/usr" install