Date: Sunday, April 13, 2014 @ 01:38:30 Author: lfleischer Revision: 109296
Add python-pygpgme Added: python-pygpgme/ python-pygpgme/repos/ python-pygpgme/trunk/ python-pygpgme/trunk/PKGBUILD ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Added: python-pygpgme/trunk/PKGBUILD =================================================================== --- python-pygpgme/trunk/PKGBUILD (rev 0) +++ python-pygpgme/trunk/PKGBUILD 2014-04-12 23:38:30 UTC (rev 109296) @@ -0,0 +1,27 @@ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> + +pkgbase=python-pygpgme +pkgname=(python-pygpgme python2-pygpgme) +pkgver=0.3 +pkgrel=2 +pkgdesc="A Python interface to the gpgme GnuPG library" +arch=('i686' 'x86_64') +url='https://launchpad.net/pygpgme' +makedepends=('python' 'python2') +license=('LGPL') +source=("https://launchpad.net/pygpgme/trunk/${pkgver}/+download/pygpgme-${pkgver}.tar.gz") +md5sums=('d38355af73f0352cde3d410b25f34fd0') + +package_python-pygpgme() { + depends=('python' 'gpgme') + + cd "${srcdir}/pygpgme-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 +} + +package_python2-pygpgme() { + depends=('python2' 'gpgme') + + cd "${srcdir}/pygpgme-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 +}