[arch-commits] Commit in (4 files)
Justin Kromlinger
hashworks at archlinux.org
Sun Aug 30 08:27:37 UTC 2020
Date: Sunday, August 30, 2020 @ 08:27:37
Author: hashworks
Revision: 692490
Moved package from AUR
Added:
certbot-dns-hetzner/
certbot-dns-hetzner/repos/
certbot-dns-hetzner/trunk/
certbot-dns-hetzner/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: certbot-dns-hetzner/trunk/PKGBUILD
===================================================================
--- certbot-dns-hetzner/trunk/PKGBUILD (rev 0)
+++ certbot-dns-hetzner/trunk/PKGBUILD 2020-08-30 08:27:37 UTC (rev 692490)
@@ -0,0 +1,29 @@
+# Maintainer: hashworks <mail at hashworks.net>
+pkgname=certbot-dns-hetzner
+pkgdesc="Certbot plugin enabling dns-01 challenge on the Hetzner DNS API"
+pkgver=1.0.3
+pkgrel=3
+arch=("any")
+url="https://github.com/ctrlaltcoop/certbot-dns-hetzner"
+license=("APACHE")
+depends=("certbot" "python-setuptools" "python-requests" "python-zope-interface")
+checkdepends=("python-pytest" "python-requests-mock")
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=("86795cdfad16f7b1125dc1680041551c04a2f2d74439d1debd875dbbd8d78bda")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHONPATH=. pytest
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+ install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+ python setup.py install --root="${pkgdir}" -O1 --skip-build
+}
More information about the arch-commits
mailing list