# vim: set syn=sh ai et sw=2 st=2 ts=2 tw=0: #Packager: JRD pkgname=pycrypto pkgver=2.6 pkgrel=1cp source=(http://ftp.dlitz.net/pub/dlitz/crypto/$pkgname/$pkgname-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/ docs=("acks" "changelog" "copyright" "pkg-info" "readme" "todo") 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/ }