[arch-commits] Commit in pycrypto/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Thu Jun 17 14:45:03 UTC 2010


    Date: Thursday, June 17, 2010 @ 10:45:03
  Author: jgc
Revision: 82815

upgpkg: pycrypto 2.1.0-1
Update to 2.1.0, this project has moved. Add custom license and all related files

Modified:
  pycrypto/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-17 14:34:34 UTC (rev 82814)
+++ PKGBUILD	2010-06-17 14:45:03 UTC (rev 82815)
@@ -3,17 +3,21 @@
 # Contributor: Kritoke <kritoke at gamebox.net>
 
 pkgname=pycrypto
-pkgver=2.0.1
-pkgrel=4
-pkgdesc="A collection of cryptographic algorithms and protocols, implemented for use from Python."
+pkgver=2.1.0
+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=('python')
+url="http://www.dlitz.net/software/pycrypto/"
+license=(custom)
+source=(http://ftp.dlitz.net/pub/dlitz/crypto/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('253e1c22ea0249f0429df4f7e2eb973b119c83b146c0f421298f5e8e6822d8a2')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  python setup.py build install --root=${startdir}/pkg
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  python setup.py build
+  python setup.py install --root="${pkgdir}"
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/"
+  cp -r LEGAL "${pkgdir}/usr/share/licenses/${pkgname}/"
 }




More information about the arch-commits mailing list