From 1f567a9d58d16b76320168f0624aa55bd6320284 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 Feb 2012 23:15:24 +0000 Subject: Mon Feb 27 23:15:24 UTC 2012 --- extra/pycrypto/PKGBUILD | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'extra/pycrypto/PKGBUILD') diff --git a/extra/pycrypto/PKGBUILD b/extra/pycrypto/PKGBUILD index fba0c5d51..74a638fd9 100644 --- a/extra/pycrypto/PKGBUILD +++ b/extra/pycrypto/PKGBUILD @@ -1,21 +1,25 @@ -# $Id: PKGBUILD 96778 2010-10-24 17:01:27Z ibiru $ +# $Id: PKGBUILD 151452 2012-02-26 11:26:30Z pierre $ # Maintainer: Jan de Groot # Contributor: Kritoke pkgname=pycrypto -pkgver=2.3 +pkgver=2.5 pkgrel=1 pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python." -arch=(i686 x86_64) +arch=('i686' 'x86_64') depends=('python2') url="http://www.dlitz.net/software/pycrypto/" -license=(custom) -source=(http://ftp.dlitz.net/pub/dlitz/crypto/${pkgname}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('4f11e85fbcf13960373650fc2dae8f088f9b001f07fb6d3efb2fcb5334987182') +license=('custom') +source=("http://ftp.dlitz.net/pub/dlitz/crypto/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('e950a78184e2a7defccf5d45e0c29c1e9edeb29984433f0d110a21e9631e38de') build() { cd "${srcdir}/${pkgname}-${pkgver}" python2 setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" python2 setup.py install --root="${pkgdir}" --optimize=1 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/" -- cgit v1.2.3-54-g00ecf