summaryrefslogtreecommitdiff
path: root/~mtjm/python2-pydns/PKGBUILD
blob: cf5f4b38813580e773f9eaf673be68ae81008c08 (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
# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu>
# From https://aur.archlinux.org/packages.php?ID=42273
# Maintainer: Filip S. Adamsen <fsa [at] fsadev [dot] com>
# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org>
pkgname=python2-pydns
_pkgname=pydns
pkgver=2.3.6
pkgrel=1
pkgdesc="Python2 module for performing DNS queries"
arch=('any')
url="http://pydns.sourceforge.net"
license=('custom')
depends=('python2')
options=(!emptydirs)
source=(http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz)
md5sums=('d12ca75251854ab6fcabbaff6909b690')

build() {
  cd "$srcdir/$_pkgname-$pkgver"

  python2 setup.py build || return 1
  python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
  install -m755 -d "${pkgdir}/usr/share/licenses/$pkgname"
  install -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname"
}