blob: 0ca7e406c10f3750e25e281617ee8890aaff6540 (
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
|
# Maintainer: John Luebs
pkgname=certbot-dns-namecheap-git
_pkgbase=certbot_dns_namecheap
pkgver=r4.269d2bf
pkgrel=1
pkgdesc="Namecheap API plugin for Let’s Encrypt client"
arch=('any')
license=('Apache')
depends=('certbot' 'dns-lexicon' 'python-acme' 'python-pynamecheap' 'python-setuptools')
makedepends=('git')
source=("git+https://github.com/jkl1337/certbot_dns_namecheap")
sha512sums=('SKIP')
pkgver() {
cd "$srcdir"/${_pkgbase}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir"/${_pkgbase}
python setup.py build
}
package() {
cd "$srcdir"/${_pkgbase}
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|