1 # Contributor: Thomas S Hatch <thatch45@gmail.com>
6 pkgdesc="Universal certificate manager"
8 url="https://fedorahosted.org/certmaster/"
10 depends=('python2' 'python2-pyopenssl')
14 source=("https://fedorahosted.org/releases/c/e/$pkgname/$pkgname-$pkgver.tar.gz"
17 md5sums=('62ca6f6a79be0842a996b355c7c491d2'
18 '322cf17dc1dbcef1e0a600556ecc09cf'
19 'c41ac4895a71f84d9b688bb45bb4d065')
23 patch -p0 < python_27.patch
27 cd $srcdir/$pkgname-$pkgver
28 python2 setup.py install --root=$pkgdir/ --optimize=1
29 install -m 755 -D $srcdir/certmaster $pkgdir/etc/rc.d/certmaster
30 rm -rf $pkgdir/etc/init.d