diff options
author | Sébastien Leduc | 2015-06-13 10:51:55 +0200 |
---|---|---|
committer | Sébastien Leduc | 2015-06-13 10:51:55 +0200 |
commit | a3b5dab3e296f9f417e6f047145d9bc924a61262 (patch) | |
tree | 8cac31b2ea3684349ead836507e98404a13fef1b /PKGBUILD | |
download | aur-a3b5dab3e296f9f417e6f047145d9bc924a61262.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c68805398eba --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Sebastien Leduc <sebastien AT sleduc DOT fr> +# Contributor: sl13lp <slackpinguino@gmail.com> + +pkgname=python-nmap +pkgver=0.3.7 +pkgrel=1 +pkgdesc="A Python library which helps in using the nmap port scanner. required nmap software" +arch=("any") +url="http://xael.org/norman/python/python-nmap" +license=('GPL3') +depends=('python' 'nmap') +source="http://xael.org/norman/python/python-nmap/$pkgname-$pkgver.tar.gz" +md5sums=('3ed35d4093a04b2ad2b3a6447dd0588e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py install --root="$pkgdir"/ --optimize=1 +} |