# Maintainer: Pellegrino Prevete (tallero) _py="python" _pkg=certbot-extra-formats pkgname="${_pkg}-git" pkgver=0.1 pkgrel=1 _pkgdesc=( "Combine and write 'Let's encrypt'" "certificates compatible with a given application.") pkgdesc="${_pkgdesc[*]}" _ns="tallero" url="https://github.com/${_ns}/${_pkg}" license=( 'AGPLv3' ) arch=( 'any' ) depends=( "certbot" ) makedepends=( 'git' "${_py}-setuptools" ) source=( "${_pkg}::git+${url}.git" ) sha512sums=( 'SKIP' ) pkgver() { cd "${_pkg}" git describe --tags | \ sed 's/-/+/g' } package() { cd "${_pkg}" python3 setup.py \ install \ --root="${pkgdir}" \ --optimize=1 } # vim:set sw=2 sts=-1 et: