aboutsummaryrefslogtreecommitdiffstats
path: root/community/pngquant/APKBUILD
blob: 5e62dcdfc04728a5f874d8ffbbbe2be23e51793b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=pngquant
pkgver=2.11.0
pkgrel=0
pkgdesc="Lossy PNG compressor"
url="https://pngquant.org/"
arch="all"
license="GPL"
makedepends="libpng-dev lcms2-dev bash"
options="!check" # No tests provided
subpackages="$pkgname-doc"
source="http://pngquant.org/$pkgname-$pkgver-src.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="1d07a683aeae097e4bda29834498dd85c7fb6735c050f56309ea59b7083674f24fc0b93084960e98e93409ad0c49bef9175219a86ebc2e8e0795ce6b81495d87  pngquant-2.11.0-src.tar.gz"