# Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=libgpg-error pkgver=1.33 pkgrel=0 pkgdesc="Support library for libgcrypt" url="http://www.gnupg.org" arch="all" license="GPL-2.0-or-later LGPL-2.1-or-later" subpackages="$pkgname-dev $pkgname-doc $pkgname-lisp:lisp:noarch" source="https://gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2" build () { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-nls make } check() { make -C "$builddir" check } package() { cd "$builddir" make -j1 DESTDIR="$pkgdir" install } lisp() { mkdir -p "$subpkgdir"/usr/ mv "$pkgdir"/usr/share "$subpkgdir"/usr/share/ } sha512sums="c0396a63ea54e321b207d84fb4eac247ba8a791058db00a8bbf1dd7698c6593b13c77de08fc0971cccd6c3c27925637d1f9fdc59c4cac1344ddfe4c25adc2e42 libgpg-error-1.33.tar.bz2"