pkgname=libppd pkgver=2.1.0 pkgrel=1 pkgdesc="OpenPrinting - the legacy support library for PPD files" arch=('x86_64') url="https://github.com/OpenPrinting/libppd" license=('Apache-2.0 WITH LLVM-exception') depends=('libcups' 'libcupsfilters' 'zlib' 'glibc' 'gcc-libs') makedepends=('ghostscript' 'mupdf') source=(https://github.com/OpenPrinting/libppd/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=('bc4d7f8b749a8809f532459a5dd2f3513556ea2b96b3e12aced3e078c2697cba') build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static --with-cups-rundir=/run/cups --enable-ppdc-utils --docdir=/usr/share/doc/${pkgname}-${pkgver} ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }