# Contributor: TBK # Maintainer: TBK pkgname=libimagequant pkgver=2.12.2 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 } package() { make DESTDIR="$pkgdir" install } sha512sums="7e7bfcffd163d8b73a46d523dc441e4a4726f5dde804f306f13900f74afae6f6e7cf780bf157b5823a71c790bcdd0e9c9c34cf43f84a21289e470fc78835d8d8 libimagequant-2.12.2.tar.gz"