blob: 0d3e973240372f55fe5b20628900da952e0f3dfb (
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
|
# $Id: PKGBUILD 74655 2012-08-01 13:54:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Hugo Doria <hugo@archlinux.org>
# Contributor: N3RD3X <n3rd3x@linuxmail.org>
pkgname=python2-gnutls
pkgver=1.2.5
pkgrel=4
pkgdesc="Python wrapper for the GNUTLS library"
arch=('i686' 'x86_64')
url="http://cheeseshop.python.org/pypi/python-gnutls"
depends=('python2' 'gnutls' 'libgcrypt')
license=('LGPL')
source=(http://pypi.python.org/packages/source/p/python-gnutls/python-gnutls-${pkgver}.tar.gz
libraryinit.patch
libraryfunctions.patch)
md5sums=('a398a75b1f366857cf2628cf4d62dd34'
'2ac537f816225bc324a9e0529774df48'
'9907d3a446fdc3b33a70e57925d67298')
build() {
cd ${srcdir}/python-gnutls-${pkgver}
patch -Np0 <$srcdir/libraryinit.patch
patch -Np0 <$srcdir/libraryfunctions.patch
}
package() {
cd ${srcdir}/python-gnutls-${pkgver}
python2 setup.py install --root=${pkgdir}
}
|