summaryrefslogtreecommitdiff
path: root/~mtjm/python2-pydns
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-08-30 19:58:03 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2011-08-30 19:58:03 +0200
commit4718f406cb2caa0278ac4bf11a29775f5a1eb0ed (patch)
tree452dcc3802419293683b8c52682b689e6ef38d0b /~mtjm/python2-pydns
parent9fbcf1de15e197d8d1478b16aad5cd368dda0ec3 (diff)
downloadabslibre-4718f406cb2caa0278ac4bf11a29775f5a1eb0ed.tar.gz
abslibre-4718f406cb2caa0278ac4bf11a29775f5a1eb0ed.tar.bz2
abslibre-4718f406cb2caa0278ac4bf11a29775f5a1eb0ed.zip
~mtjm/python2-pydns-2.3.5-1 from AUR, updated with license file installed.
Diffstat (limited to '~mtjm/python2-pydns')
-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"
+}