archrelease: copy trunk to community-any
[ArchLinux/community.git] / libgcrypt11 / trunk / PKGBUILD
blob4e4fab96aac6ddb4b0b8686ff44e723cc1d128ca
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Andreas Radke <andyrtr@archlinux.org>
4 pkgname=libgcrypt11
5 pkgver=1.5.6
6 pkgrel=1
7 pkgdesc='General purpose cryptographic library based on the code from GnuPG'
8 arch=('x86_64')
9 url='http://www.gnupg.org'
10 license=('LGPL')
11 depends=('glibc' 'libgpg-error')
12 source=("ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${pkgver}.tar.bz2"{,.sig})
13 sha256sums=('301826b5e521c867056fd630aad6f0a60e176d18a017da6bc24b1695df3abe79'
14             'SKIP')
15 validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
17 build() {
18   cd libgcrypt-${pkgver}
20   ./configure \
21     --prefix='/usr' \
22     --disable-static \
23     --disable-padlock-support
24   make
27 package() {
28   cd libgcrypt-${pkgver}
30   make DESTDIR="${pkgdir}" install
31   rm -rf "${pkgdir}"/usr/{bin,include,lib/libgcrypt.so,share}
34 # vim: ts=2 sw=2 et: