blob: b540b9d3725fd1d1631ce40e8a72b178bb4cff94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Sergej Pupykin <sergej@aur.archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=python-m2crypto
pkgver=0.41.0
pkgrel=2
pkgdesc="A crypto and SSL toolkit for Python"
arch=('x86_64')
url="https://pypi.python.org/pypi/M2Crypto"
license=('BSD')
depends=('python' 'openssl')
makedepends=('python-setuptools' 'swig')
source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/m2crypto/m2crypto/-/archive/${pkgver}/${pkgname#python-}-${pkgver}.tar.gz"
"LICENSE")
sha256sums=('468e1cef531935e2697118ec34b7f247b89869dce71cff64ba4734f00cce682a'
'4eca478396f4b2b020729a111fce3f096456d74500bfd8f2b0388c3c69f997c0')
build(){
cd "m2crypto-$pkgver"
python setup.py build
}
package() {
cd "m2crypto-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
install -D -m644 "$srcdir"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|