diff options
author | Daniel Nagy | 2015-06-08 20:35:41 +0200 |
---|---|---|
committer | Daniel Nagy | 2015-06-08 20:35:41 +0200 |
commit | 070119b9fd9276dca7a362aecb888514fa522cf3 (patch) | |
tree | eb5443e1d856f24f1efc15a3ee4db0d5be77fb90 /PKGBUILD | |
download | aur-python2-akismet.tar.gz |
import to aur4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c6bf9ef6fd46 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Daniel Nagy <danielnagy at gmx de> + +pkgname=python2-akismet +pkgver=0.2.0 +pkgrel=1 +pkgdesc="A Python interface to the Akismet anti comment-spam API." +url="http://www.voidspace.org.uk/python/modules.shtml#akismet" +depends=( 'python2' ) +license=( 'BSD' ) +arch=('any') +source=( "https://pypi.python.org/packages/source/a/akismet/akismet-$pkgver.tar.gz") +md5sums=('bd4b471d88aadad00a6fd70dea97e718') + +build() { + cd $srcdir/akismet-$pkgver + python2 setup.py build +} + +package() { + cd $srcdir/akismet-$pkgver + python2 setup.py install --root="$pkgdir" --optimize=1 +} |