diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-05-27 16:06:05 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-05-27 16:06:05 +0200 |
commit | a4034dd00dc4d717a2b747eb2efd5586e62b0192 (patch) | |
tree | ab733dc14c5e670608c55aa44404d4cc35002df5 /pcr/python2-pydns/PKGBUILD | |
parent | db689afc9d3c16e6151cca0abaad4aefd8b7efe0 (diff) | |
download | abslibre-a4034dd00dc4d717a2b747eb2efd5586e62b0192.tar.gz abslibre-a4034dd00dc4d717a2b747eb2efd5586e62b0192.tar.bz2 abslibre-a4034dd00dc4d717a2b747eb2efd5586e62b0192.zip |
Move Python libraries from ~mtjm to pcr.
Diffstat (limited to 'pcr/python2-pydns/PKGBUILD')
-rw-r--r-- | pcr/python2-pydns/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/python2-pydns/PKGBUILD b/pcr/python2-pydns/PKGBUILD new file mode 100644 index 000000000..cf5f4b388 --- /dev/null +++ b/pcr/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.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" +} |