pkgname=lzo pkgver=2.10 pkgrel=1 pkgdesc="Portable lossless data compression library" arch=('x86_64') url="https://www.oberhumer.com/opensource/lzo" license=('GPL-2.0-or-later') depends=('glibc') source=(https://www.oberhumer.com/opensource/lzo/download/${pkgname}-${pkgver}.tar.gz) sha256sums=(c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072) build() { cd ${pkgname}-${pkgver} local configure_args=( --enable-shared --disable-static --docdir=/usr/share/doc/${pkgname}-${pkgver} ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }