summaryrefslogtreecommitdiff
path: root/~mtjm/python2-pydns/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~mtjm/python2-pydns/PKGBUILD')
-rw-r--r--~mtjm/python2-pydns/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/~mtjm/python2-pydns/PKGBUILD b/~mtjm/python2-pydns/PKGBUILD
new file mode 100644
index 000000000..76ea7b112
--- /dev/null
+++ b/~mtjm/python2-pydns/PKGBUILD
@@ -0,0 +1,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.5
+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=('50fb6ec23808110162e84ef49140a73f')
+
+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"
+}