# Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=libgpg-error pkgver=1.22 pkgrel=0 pkgdesc="Support library for libgcrypt" url="http://www.gnupg.org" arch="all" license="LGPL" depends="" depends_dev="" makedepends="" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lisp" source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2 " build () { cd "$srcdir"/$pkgname-$pkgver ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-nls \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make -j1 DESTDIR="$pkgdir" install || return 1 } lisp() { mkdir -p "$subpkgdir"/usr/ mv "$pkgdir"/usr/share "$subpkgdir"/usr/share/ } md5sums="83c686abe3fa223ec89f3b51da830770 libgpg-error-1.22.tar.bz2" sha256sums="f2a04ee6317bdb41a625bea23fdc7f0b5a63fb677f02447c647ed61fb9e69d7b libgpg-error-1.22.tar.bz2" sha512sums="0e2bbbd1cf51e247921836642ebc0b52573565dde0f3c9df405d74ca148aafd9b6509ae782f8db93ef31425c88466c8a9d11c147aa65b4f21a1856af29f0b8db libgpg-error-1.22.tar.bz2"