mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 15:12:02 +01:00
27 lines
783 B
Plaintext
27 lines
783 B
Plaintext
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer: TBK <alpine@jjtc.eu>
|
|
pkgname=libimagequant
|
|
pkgver=2.12.1
|
|
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() {
|
|
cd "$builddir"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="2e65d1ccae4e885e200446756496c2446696f0d4c7057d85e40c9ab4d524fed5505584f21f240ce3a7c589b9156ccb117cf5b1562b4851f3fbf14bf11fed0f13 libimagequant-2.12.1.tar.gz"
|