blob: ef2ba1fd68e234f3dc411a3ba864e422d373d214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Ben Wolsieffer <benwolsieffer@gmail.com>
_github_url=https://github.com/lopsided98/dnsupdate
pkgname=dnsupdate-git
pkgver=0.1.r0.gde81e54
pkgrel=2
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'
)
conflicts=('dnsupdate')
provides=('dnsupdate')
source=(${pkgname}::git+${_github_url}.git)
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
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:
|