[arch-commits] Commit in pycrypto/trunk (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Sun Feb 26 11:26:00 UTC 2012
Date: Sunday, February 26, 2012 @ 06:26:00
Author: pierre
Revision: 151451
upgpkg: pycrypto 2.5-1
upstream update
Modified:
pycrypto/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-26 11:24:29 UTC (rev 151450)
+++ PKGBUILD 2012-02-26 11:26:00 UTC (rev 151451)
@@ -3,19 +3,23 @@
# Contributor: Kritoke <kritoke at gamebox.net>
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}/"
More information about the arch-commits
mailing list