diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-21 18:44:12 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-21 18:44:12 -0500 |
commit | de855f961f2b80778bc1a3fbcd8c898ee5bf792f (patch) | |
tree | 35a7077a4beec137a61b2edc1967ded62cee42a1 /pcr | |
parent | c9dcdf474040ae0325fc09ecff83310f06ff7761 (diff) | |
download | abslibre-de855f961f2b80778bc1a3fbcd8c898ee5bf792f.tar.gz abslibre-de855f961f2b80778bc1a3fbcd8c898ee5bf792f.tar.bz2 abslibre-de855f961f2b80778bc1a3fbcd8c898ee5bf792f.zip |
botan-1.10: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/botan-1.10/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/botan-1.10/PKGBUILD b/pcr/botan-1.10/PKGBUILD new file mode 100644 index 000000000..cb4af0cef --- /dev/null +++ b/pcr/botan-1.10/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer (Arch): drakkan <nicola.murino@gmail.com> +# Contributor (Arch): drakkan <nicola.murino@gmail.com> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +pkgname=botan-1.10 +pkgver=1.10.9 +pkgrel=1 +pkgdesc='Crypto library written in C++' +license=('BSD') +arch=('x86_64' 'i686') +url='http://botan.randombit.net/' +depends=('gcc-libs' 'sh') +makedepends=('python2') +source=("http://botan.randombit.net/releases/Botan-${pkgver}.tgz") +sha256sums=('487d27d3a081ae403cf87c0fc78c2a64183f001b48f9feb87e8de1e16fba8df2') + +build() { + cd "Botan-$pkgver" + + python2 configure.py --prefix=/usr --enable-modules=cvc + make +} + +package() { + cd "Botan-$pkgver" + + make DESTDIR="$pkgdir/usr" install + find "$pkgdir/usr/share/doc" -type f -exec chmod 0644 {} \; + install -Dm644 doc/license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: |