aboutsummaryrefslogtreecommitdiffstats
path: root/community/pngquant/APKBUILD
blob: f769f6bd1f519c62db3ee442a1dffb2fa7a80137 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=pngquant
pkgver=2.10.1
pkgrel=0
pkgdesc="Lossy PNG compressor"
url="https://pngquant.org/"
arch="all"
license="GPL"
makedepends="libpng-dev lcms2-dev bash"
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="5e239f63a6f858bb8116a884526b9441f0c9c9ecf38f4081ec0c666f1756ef955f98c7c62652fff9b2ac3761c7023633193bc68de555738e0bc054b9068f09a2  pngquant-2.10.1-src.tar.gz"