diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/adns-python | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/adns-python')
-rw-r--r-- | community/adns-python/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/adns-python/PKGBUILD b/community/adns-python/PKGBUILD new file mode 100644 index 000000000..9c1fc0cc7 --- /dev/null +++ b/community/adns-python/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 65029 2012-02-20 02:06:35Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Ben Mazer <blm@groknil.org> + +pkgname=adns-python +pkgver=1.2.1 +pkgrel=5 +pkgdesc="python bindings for adns" +arch=('i686' 'x86_64') +url="http://code.google.com/p/adns-python/" +depends=('adns' 'python2') +makedepends=() +license=('GPL2') +source=(http://adns-python.googlecode.com/files/adns-python-$pkgver.tar.gz) +md5sums=('12cc7ad1b0ee8d818005e9ca4def758b') + +build() { + cd $srcdir/$pkgname-$pkgver + + # python2 fix + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' DNSBL.py + sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' ADNS.py + + python2 setup.py install --root=$pkgdir +} |