# vim: syn=sh ft=sh et sw=2 sts=2 ts=2 tw=0: #Packager: Cyrille Pontvieux pkgname=pycrypto pkgver=2.7a1 pkgrel=1cp source=(https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/${pkgname}-${pkgver}.tar.gz) sourcetemplate=http://people.salixos.org/jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "acks" "copyright" "pkg-info") url=http://www.pycrypto.org slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Python Cryptography Toolkit)" "This is a collection of both secure hash functions (such as MD5 and" "SHA), and various encryption algorithms (AES, DES, IDEA, RSA," "ElGamal, etc.). The package is structured to make adding new" "modules easy." ) build() { cd $SRC/$pkgname-$pkgver || return 1 python setup.py install --prefix=/usr --root=$PKG || return 1 mkdir -p $PKG/usr/doc/$pkgname-$pkgver cp -r Doc LEGAL $PKG/usr/doc/$pkgname-$pkgver/ }