# $Id: PKGBUILD 98274 2010-11-06 10:51:05Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Andrea Scarpino # Contributor: Kritoke # Contributor: jlvsimoes pkgname=crypto++ pkgver=5.6.1 _srcver=561 pkgrel=1 pkgdesc="A free C++ class library of cryptographic schemes." arch=('i686' 'x86_64') license=('custom') makedepends=('unzip') url="http://www.cryptopp.com/" source=(http://www.cryptopp.com/cryptopp${_srcver}.zip) md5sums=('96cbeba0907562b077e26bcffb483828') build() { cd ${srcdir} sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile make -f GNUmakefile || return 1 install -d ${pkgdir}/usr/{lib,include/cryptopp} install -m644 *.h ${pkgdir}/usr/include/cryptopp/ install -m644 libcryptopp.a ${pkgdir}/usr/lib/ install -D -m644 License.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }