mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
23 lines
732 B
Bash
23 lines
732 B
Bash
# $Id: PKGBUILD 41452 2009-06-04 03:31:12Z eric $
|
|
# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
|
|
# Contributor: William Rea <sillywilly@gmail.com>
|
|
|
|
pkgname=python-m2crypto
|
|
pkgver=0.19.1
|
|
pkgrel=2
|
|
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' 'openssl')
|
|
makedepends=('swig')
|
|
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"
|
|
}
|