summaryrefslogtreecommitdiffstats
path: root/linhes
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2024-01-28 01:25:46 (GMT)
committerBritney Fransen <brfransen@gmail.com>2024-01-28 01:25:46 (GMT)
commitf0932c4195fad6c130da7903506c45b61e920031 (patch)
tree5be5a5b852e2f56be2c50449e3dda23dd8f5c785 /linhes
parentabcf338748d4217e268c543bd992896b3956507b (diff)
downloadlinhes_pkgbuild-f0932c4195fad6c130da7903506c45b61e920031.zip
linhes_pkgbuild-f0932c4195fad6c130da7903506c45b61e920031.tar.gz
linhes_pkgbuild-f0932c4195fad6c130da7903506c45b61e920031.tar.bz2
certbot-dns-duckdns: initial inclusion
Diffstat (limited to 'linhes')
-rw-r--r--linhes/certbot-dns-duckdns/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/linhes/certbot-dns-duckdns/PKGBUILD b/linhes/certbot-dns-duckdns/PKGBUILD
new file mode 100644
index 0000000..b268acd
--- /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.3"
+pkgver="1.3.0"
+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' )
+source=("https://github.com/infinityofspace/certbot_dns_duckdns/archive/refs/tags/v${_pkgverUpstream}.tar.gz")
+sha256sums=('1faa4ebfb4902056dd90d45f8544a925d81ce8df34ab5d232acfb97e1bf12848')
+
+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
+}