updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / certmaster / PKGBUILD
blob8585ba10faf5716bcfd6671d29e5cfd6ffa38f62
1 # Contributor: Thomas S Hatch <thatch45@gmail.com>
3 pkgname=certmaster
4 pkgver=0.27
5 pkgrel=6
6 pkgdesc="Universal certificate manager"
7 arch=(any)
8 url="https://fedorahosted.org/certmaster/"
9 license=("GPL2")
10 depends=('python2' 'python2-pyopenssl')
11 makedepends=()
12 optdepends=()
13 options=()
14 source=("https://fedorahosted.org/releases/c/e/$pkgname/$pkgname-$pkgver.tar.gz"
15         "certmaster"
16         "python_27.patch")
17 md5sums=('62ca6f6a79be0842a996b355c7c491d2'
18          '322cf17dc1dbcef1e0a600556ecc09cf'
19          'c41ac4895a71f84d9b688bb45bb4d065')
21 build() {
22   cd $srcdir
23   patch -p0 < python_27.patch
25         
26 package() {
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