summaryrefslogtreecommitdiffstats
path: root/linhes/certbot-dns-duckdns
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/certbot-dns-duckdns')
-rw-r--r--linhes/certbot-dns-duckdns/PKGBUILD31
-rw-r--r--linhes/certbot-dns-duckdns/__changelog1
2 files changed, 32 insertions, 0 deletions
diff --git a/linhes/certbot-dns-duckdns/PKGBUILD b/linhes/certbot-dns-duckdns/PKGBUILD
new file mode 100644
index 0000000..cb1f3dd
--- /dev/null
+++ b/linhes/certbot-dns-duckdns/PKGBUILD
@@ -0,0 +1,31 @@
+# shellcheck shell=bash
+# shellcheck disable=SC2034 # Various variables that are used by makepkg
+# shellcheck disable=SC2154 # Various variables that are provided by makepkg
+# Maintainer: eomanis at web dot de
+
+pkgname='certbot-dns-duckdns'
+_pkgverUpstream="1.7.0"
+pkgver="$_pkgverUpstream"
+pkgrel=1
+pkgdesc="Plugin for certbot for a DNS-01 challenge with a DuckDNS domain"
+arch=('any')
+url='https://github.com/infinityofspace/certbot_dns_duckdns'
+license=('MIT')
+depends=('certbot' 'python-dnspython' 'python-requests')
+makedepends=( 'python-build' 'python-installer' 'python-wheel' 'python-setuptools')
+source=("https://github.com/infinityofspace/certbot_dns_duckdns/archive/refs/tags/v${_pkgverUpstream}.tar.gz")
+sha384sums=('df71e7014252716790a058d375729926fd18db1b9d2066dc611ff3e869f5a49d626f03ca24af641f12614127da687602')
+
+build() {
+ local srcRootDir="${srcdir}/certbot_dns_duckdns-${_pkgverUpstream}"
+ cd "$srcRootDir" || return 1
+
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ local srcRootDir="${srcdir}/certbot_dns_duckdns-${_pkgverUpstream}"
+ cd "$srcRootDir" || return 1
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}
diff --git a/linhes/certbot-dns-duckdns/__changelog b/linhes/certbot-dns-duckdns/__changelog
new file mode 100644
index 0000000..d9862a1
--- /dev/null
+++ b/linhes/certbot-dns-duckdns/__changelog
@@ -0,0 +1 @@
+PKGBUILD: add to makedepends python-setuptools