blob: 9960afa843bdb9435bc9760dcf3344e6b08f923a (
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
29
30
31
32
33
34
35
36
37
|
# Maintainer: Maxim Mikityanskiy <maxtram95@gmail.com>
_pkgname=certbot-dns-henet
pkgname=$_pkgname-git
pkgver=r19.f5558c4
pkgrel=2
pkgdesc="he.net DNS Authenticator plugin for Certbot"
arch=('any')
license=('MIT')
url="https://bitbucket.org/qt-max/$_pkgname"
depends=('certbot' 'python-acme' 'python-beautifulsoup4' 'python-requests'
'python-setuptools')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://bitbucket.org/qt-max/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
check() {
cd "$srcdir/$_pkgname"
python setup.py test
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir"
}
|