aboutsummaryrefslogtreecommitdiffstats
path: root/community/pngquant/APKBUILD
blob: dc164a2c1aa49be8cfc7187946bc8cdde5decb66 (plain) (blame)
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.12.5
pkgrel=0
pkgdesc="Lossy PNG compressor"
url="https://pngquant.org"
arch="all"
license="GPL-3.0-or-later"
makedepends="libpng-dev lcms2-dev bash"
subpackages="$pkgname-doc"
source="https://pngquant.org/$pkgname-$pkgver-src.tar.gz"

build() {
	./configure --prefix=/usr
	make
}

check() {
	./pngquant --help > /dev/null
}

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

sha512sums="54e624d68934036815faa11b6e6da8559b7e7e3b4b7933b61bd98758ddfc2c3b70b1642aafd75fe40121fd3c88edaeef3bbe9549661e13b689fb1ecc29e5c5af  pngquant-2.12.5-src.tar.gz"