blob: 0d3b88ba550669380ea9bacf706052996150bebc (
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
|
# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
# Maintainer (AUR): Sebastien Leduc <sebastien@sleduc.fr>
# Contributor (AUR): Samed Beyribey <ras0ir AT eventualis DOT org>
_pkgname=py3dns
pkgname=python-$_pkgname
pkgver=3.1.1
pkgrel=1
pkgdesc="A lightweight DNS client library for Python 3"
arch=('any')
url="https://launchpad.net/py3dns"
license=('custom:PSF')
makedepends=('python-setuptools')
depends=('python')
source=("https://launchpad.net/${_pkgname}/trunk/${pkgver}/+download/${_pkgname}-${pkgver}.tar.gz"{,.asc})
md5sums=('d86f2d7d70ddc187e53c7abc78a3179c'
'SKIP')
validpgpkeys=(E7729BFFBE85400FEEEE23B178D7DEFB9AD59AF1) # Donald Scott Kitterman
replaces=(python-pydns) # AUR name
conflicts=(python-pydns) # AUR name
package() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|