1 # $Id: PKGBUILD 2304 2008-05-31 05:00:40Z paul $
2 # Maintainer: Zerial <fernando@zerial.org>
6 pkgdesc="Set of tools for managing notebook power consumption"
9 backup=('etc/apmd_proxy')
12 url="http://alumnit.ca/~apenwarr/apmd/"
13 source=(http://alumnit.ca/~apenwarr/apmd/$pkgname-$pkgver.tar.gz \
14 apmd-$pkgver.patch apmd.rc)
15 md5sums=('23ce275766441c59b6b47c002f9098eb' 'a27ecf771d9dc5d4cf57b9c79972ec46'\
16 'e84ca8f326aeb5b982c1f6585b183d70')
19 cd $startdir/src/$pkgname
20 patch -Np1 -i ../apmd-$pkgver.patch
22 mkdir -p $startdir/pkg/{usr,etc}
23 make PREFIX=$startdir/pkg/usr APMD_PROXY_DIR=$startdir/pkg/etc install
24 install -D -m755 ../apmd.rc $startdir/pkg/etc/rc.d/apmd
25 rm -rf $startdir/pkg/usr/man/fr