summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-18 03:28:06 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-18 03:28:06 (GMT)
commit2bbbb764167beba835309a4fa12718b3811812cb (patch)
tree94603be5a67d1d17c36e7628aa7c1dfae8172ddd /abs
parent635280039f17ebac73907fc7d35ab5d94e8d7544 (diff)
downloadlinhes_pkgbuild-2bbbb764167beba835309a4fa12718b3811812cb.zip
linhes_pkgbuild-2bbbb764167beba835309a4fa12718b3811812cb.tar.gz
linhes_pkgbuild-2bbbb764167beba835309a4fa12718b3811812cb.tar.bz2
pycrypto: update
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/pycrypto/PKGBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/abs/extra/pycrypto/PKGBUILD b/abs/extra/pycrypto/PKGBUILD
index 2801337..fba0c5d 100644
--- a/abs/extra/pycrypto/PKGBUILD
+++ b/abs/extra/pycrypto/PKGBUILD
@@ -1,19 +1,23 @@
-# $Id: PKGBUILD 17322 2008-10-28 12:29:19Z douglas $
+# $Id: PKGBUILD 96778 2010-10-24 17:01:27Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Kritoke <kritoke@gamebox.net>
pkgname=pycrypto
-pkgver=2.0.1
-pkgrel=3
-pkgdesc="A collection of cryptographic algorithms and protocols, implemented for use from Python."
+pkgver=2.3
+pkgrel=1
+pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python."
arch=(i686 x86_64)
-depends=('python' 'gmp')
-url="http://www.amk.ca/python/code/crypto.html"
-license=(GPL)
-source=(http://www.amk.ca/files/python/crypto/${pkgname}-${pkgver}.tar.gz)
-md5sums=('4d5674f3898a573691ffb335e8d749cd')
+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')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- python setup.py build install --root=${startdir}/pkg
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python2 setup.py build
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/"
+ cp -r LEGAL "${pkgdir}/usr/share/licenses/${pkgname}/"
}