diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-09 23:54:10 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-09 23:54:10 (GMT) |
commit | 122a2cff06410cc8927e554b6e968987ff1f53fe (patch) | |
tree | 19debbb14c895017f74aa994dd61c733c0abe8ae /abs | |
parent | 8fb1d615c0772ceafdbd524d1b92dc41e60c2565 (diff) | |
download | linhes_pkgbuild-122a2cff06410cc8927e554b6e968987ff1f53fe.zip linhes_pkgbuild-122a2cff06410cc8927e554b6e968987ff1f53fe.tar.gz linhes_pkgbuild-122a2cff06410cc8927e554b6e968987ff1f53fe.tar.bz2 |
pycrypto: recompile
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/python_modules/pycrypto/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/core/python_modules/pycrypto/PKGBUILD b/abs/core/python_modules/pycrypto/PKGBUILD new file mode 100644 index 0000000..5ba87ac --- /dev/null +++ b/abs/core/python_modules/pycrypto/PKGBUILD @@ -0,0 +1,23 @@ +# $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.3 +pkgrel=2 +pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python." +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') + +build() { + 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}/" +} |