pkgname=libgpg-error pkgver=1.51 pkgrel=1 pkgdesc="Support library for libgcrypt" arch=('x86_64') url="https://www.gnupg.org" license=('LGPL-2.1-or-later' 'BSD-3-Clause OR LGPL-2.1-or-later' 'FSFULLR' 'GPL-2.0-or-later') depends=('glibc' 'bash') source=(https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2) sha256sums=(be0f1b2db6b93eed55369cdf79f19f72750c8c7c39fc20b577e724545427e6b2) build() { cd ${pkgname}-${pkgver} local configure_args=( ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -v -m644 -D README ${pkgdir}/usr/share/doc/${pkgname}-${pkgver}/README }