diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ed06a7b5e63e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = certbot-dns-duckdns + pkgdesc = Plugin for certbot for a DNS-01 challenge with a DuckDNS domain + pkgver = 1.3.0 + pkgrel = 1 + url = https://github.com/infinityofspace/certbot_dns_duckdns + arch = any + license = MIT + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel + depends = certbot + depends = python-dnspython + depends = python-requests + source = https://github.com/infinityofspace/certbot_dns_duckdns/archive/refs/tags/v1.3.tar.gz + sha256sums = 1faa4ebfb4902056dd90d45f8544a925d81ce8df34ab5d232acfb97e1bf12848 + +pkgname = certbot-dns-duckdns diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b268acd6ba6e --- /dev/null +++ b/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 +} |