# Contributor: TBK # Maintainer: TBK pkgname=libimagequant pkgver=2.12.3 pkgrel=0 pkgdesc="Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images." url="https://pngquant.org/lib/" arch="all" license="GPL-3.0-or-later" options="!check" # No test suite makedepends="bash" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/ImageOptim/libimagequant/archive/$pkgver.tar.gz" build() { ./configure --prefix=/usr make } check() { make check } package() { make DESTDIR="$pkgdir" install rm -f "$pkgdir"/usr/lib/*.a } sha512sums="4818b00b6f154407f3e402d56f4891c2d7594c8056fada0402d7fa0024ae50127340dd8295da5f5dca13fe1829670a3fa8793aa528f3e74a2294c9a7e37b7257 libimagequant-2.12.3.tar.gz"