summaryrefslogtreecommitdiff
path: root/pcr/python-py3dns/PKGBUILD
blob: ed0b9fb5058c431dc811b30b5e35c065994ea3c2 (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.2.0
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=('683ec2f5243b34f7127cfd0bfc9259c6'
         '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"
}