# Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=libgpg-error pkgver=1.30 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="ee07d3d3f30432b6a7ff68640c64ff42cc21510e1da43023d7b23571abcc54ee9f5db0c95a92745d8961e15664c4a54fcf024552af0f9de41d99ef716c2b48c4 libgpg-error-1.30.tar.bz2"