pkgname=xz pkgver=5.6.3 pkgrel=1 pkgdesc="Library and command line tools for XZ and LZMA compressed files" arch=('x86_64') url="https://xz.tukaani.org/xz-utils" license=('GPL-2.0-or-later' 'GPL-3.0-or-later' 'LGPL-2.1-or-later') groups=('base') depends=('bash') source=(https://github.com/tukaani-project/xz/archive/v${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(db0590629b6f0fa36e74aea5f9731dc6f8df068ce7b7bafa45301832a5eebc3a) build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static --docdir=/usr/share/doc/${pkgname}-${pkgver} ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }