Add 'porkbun-dynamic-dns-python-git/' from commit '0df3248165794f9e7ab0068e6caad9603929d653'
git-subtree-dir: porkbun-dynamic-dns-python-git git-subtree-mainline:697e76a234
git-subtree-split:0df3248165
This commit is contained in:
commit
71ebd5f774
14
porkbun-dynamic-dns-python-git/.SRCINFO
Normal file
14
porkbun-dynamic-dns-python-git/.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
|||
pkgbase = porkbun-dynamic-dns-python-git
|
||||
pkgdesc = A fork of the official Porkbun dynamic DNS client written in Python
|
||||
pkgver = r17.716794b
|
||||
pkgrel = 1
|
||||
url = https://git.exozy.me/exozyme/porkbun-dynamic-dns-python
|
||||
arch = any
|
||||
license = MIT
|
||||
depends = python
|
||||
depends = python-requests
|
||||
backup = etc/porkbun-ddns.json
|
||||
source = porkbun-dynamic-dns-python::git+https://git.exozy.me/exozyme/porkbun-dynamic-dns-python.git
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = porkbun-dynamic-dns-python-git
|
26
porkbun-dynamic-dns-python-git/PKGBUILD
Normal file
26
porkbun-dynamic-dns-python-git/PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Maintainer: Anthony Wang <ta180m@proton.me>
|
||||
_pkgname=porkbun-dynamic-dns-python
|
||||
pkgname=${_pkgname}-git
|
||||
pkgver=r17.716794b
|
||||
pkgrel=1
|
||||
pkgdesc="A fork of the official Porkbun dynamic DNS client written in Python"
|
||||
arch=(any)
|
||||
url="https://git.exozy.me/exozyme/porkbun-dynamic-dns-python"
|
||||
license=('MIT')
|
||||
depends=('python' 'python-requests')
|
||||
backup=('etc/porkbun-ddns.json')
|
||||
source=("${_pkgname}::git+${url}.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$_pkgname"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname"
|
||||
install -vDm755 porkbun-ddns.py "$pkgdir/usr/bin/porkbun-ddns"
|
||||
install -vDm600 config.json.example "$pkgdir/etc/porkbun-ddns.json"
|
||||
install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/porkbun-ddns.service"
|
||||
install -vDm644 systemd.timer "$pkgdir/usr/lib/systemd/system/porkbun-ddns.timer"
|
||||
}
|
Loading…
Reference in a new issue