diff options
Diffstat (limited to 'abs/extra/python-m2crypto/PKGBUILD')
-rw-r--r-- | abs/extra/python-m2crypto/PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/extra/python-m2crypto/PKGBUILD b/abs/extra/python-m2crypto/PKGBUILD new file mode 100644 index 0000000..86a96d1 --- /dev/null +++ b/abs/extra/python-m2crypto/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD,v 1.6 2008/11/13 16:04:12 sergej Exp $ +# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org> +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=python-m2crypto +pkgver=0.19.1 +pkgrel=1 +pkgdesc="A crypto and SSL toolkit for Python" +arch=('i686' 'x86_64') +url="http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto" +license=('BSD') +depends=('python' 'swig' 'openssl') +source=(http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-$pkgver.tar.gz) +md5sums=('c92286fdf0a75f017e72122c2832d5ff') + +build() { + cd $srcdir/M2Crypto-$pkgver + python setup.py build + python setup.py install --root=$pkgdir/ + + install -D -m644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |