diff options
author | Ben Wolsieffer | 2016-12-12 19:42:51 -0500 |
---|---|---|
committer | Ben Wolsieffer | 2016-12-12 19:42:51 -0500 |
commit | 7f8ab81991a490cb06d63b7d9a213975d7bab658 (patch) | |
tree | f273035d59b3651be89c561f497477369f510353 | |
download | aur-7f8ab81991a490cb06d63b7d9a213975d7bab658.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1b4de3482e96 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Tue Dec 13 00:42:35 UTC 2016 +pkgbase = dnsupdate + pkgdesc = A modern and flexible dynamic DNS client + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/lopsided98/dnsupdate + arch = any + license = GPL3 + makedepends = python-setuptools + depends = python-requests + depends = python-yaml + optdepends = python-beautifulsoup4: router address scraping + optdepends = python-netifaces: local interface address support + source = dnsupdate::git+https://github.com/lopsided98/dnsupdate.git#tag=0.1 + sha256sums = SKIP + +pkgname = dnsupdate + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..43ab38085ecb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Ben Wolsieffer <benwolsieffer@gmail.com> +_github_url=https://github.com/lopsided98/dnsupdate +pkgname=dnsupdate +pkgver=0.1 +pkgrel=1 +pkgdesc="A modern and flexible dynamic DNS client" +arch=('any') +url="${_github_url}" +license=('GPL3') +depends=('python-requests' 'python-yaml') +makedepends=('python-setuptools') +optdepends=( + 'python-beautifulsoup4: router address scraping' + 'python-netifaces: local interface address support' +) +source=(${pkgname}::git+${_github_url}.git#tag=$pkgver) +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${pkgname}" + python setup.py build +} + +package() { + cd "${srcdir}/${pkgname}" + + python setup.py install --skip-build --root="${pkgdir}" --optimize=1 +} + +# vim:set ts=4 sw=4 et: |