summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/certmaster/PKGBUILD
blob: 4b4bf69ebfa109ed21b8b063ea36b1558c6f6f32 (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
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
}