4 pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python. Compatible with Python3"
8 url="http://www.dlitz.net/software/pycrypto/"
11 _gitroot="git://github.com/dlitz/pycrypto.git"
16 msg "Connecting to GIT server...."
18 if [ -d $_gitname ] ; then
19 cd $_gitname && git pull origin
20 msg "The local files are updated."
22 git clone $_gitroot $_gitname
25 msg "GIT checkout done or server timeout"
26 msg "Starting make..."
32 cd "${srcdir}/${pkgname}"
33 python setup.py install --root="${pkgdir}" --optimize=1
34 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
35 install -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/"
36 cp -r LEGAL "${pkgdir}/usr/share/licenses/${pkgname}/"