summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/certmaster/PKGBUILD
blob: 96b8d2c5f9c7a1945e76ebcf07378fbd768af147 (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
pkgname=certmaster
pkgver=0.24
pkgrel=5
pkgdesc="certmaster"
url=""
license="gpl"
depends=(pyopenssl)
makedepends=()
conflicts=()
replaces=()
backup=()
moddir="pkg/usr/lib/python2.5/site-packages/func/minion/modules/"
backup=('etc/certmaster/certmaster.conf' 'etc/certmaster/minion.conf')


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
}