1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-11-15 18:49:14 +01:00
acertmgr/docs/archlinux/python2-acertmgr/PKGBUILD

35 lines
883 B
Bash

pkgname=python2-acertmgr
_pkgname=acertmgr
pkgver=v0.0.0
pkgrel=1
pkgdesc='An automated certificate manager using ACME/letsencrypt'
arch=('any')
url='https://github.com/moepman/acertmgr'
license=('ISC')
depends=('python2-cryptography')
optdepends=('python2-yaml: Support config files in YAML format'
'python2-idna: Support conversion of unicode domains'
'python2-dnspython: Support for dns challenge handlers'
'python2-cryptography>=2.1: Support for the OCSP must-staple flag'
)
makedepends=('git')
conflicts=('python-acertmgr')
provides=('python-acertmgr')
source=('git://github.com/moepman/acertmgr.git')
md5sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $_pkgname
python2 setup.py build
}
package() {
cd $_pkgname
python2 setup.py install --root=${pkgdir} --optimize=1
}