pkgname=check pkgver=0.15.2 pkgrel=1 pkgdesc="A unit testing framework for C" arch=('x86_64') url="https://libcheck.github.io/check" license=('LGPL-2.1-or-later') depends=('gawk') source=(https://github.com/libcheck/check/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a) build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} docdir=/usr/share/doc/${pkgname}-${pkgver} install }