pkgname=certmaster pkgver=0.25 pkgrel=2 pkgdesc="certmaster" url="" license="gpl" depends=(pyopenssl) makedepends=() conflicts=() replaces=() moddir="pkg/usr/lib/python2.5/site-packages/func/minion/modules/" backup=('etc/certmaster/certmaster.conf' 'etc/certmaster/minion.conf') install=certmaster.install source=($pkgname-$pkgver.tar.gz certmaster.conf minion.conf) md5sums=() arch=('i686') build() { cd $startdir/src/$pkgname-${pkgver} python setup.py build python setup.py install --prefix=$startdir/pkg/usr cd $startdir/src install -m755 -D minion.conf $startdir/pkg/etc/certmaster/minion.conf install -m755 -D certmaster.conf $startdir/pkg/etc/certmaster/certmaster.conf mkdir -p $startdir/pkg/var/log/certmaster cd $startdir/pkg find ./ -name "*.pyc" -print | xargs rm -f }