blob: b84b2287684862cc4e78f415e4a14bfb689fa97e (
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
28
29
30
31
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=pngquant
pkgver=2.11.2
pkgrel=1
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
}
check() {
cd "$builddir"
./pngquant --help > /dev/null
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="2ef2f45b3bc67dfa178083321299dcdc47bc83e1165cf73f3104ae1d716a7756b721ad20e40583448667461ca8e96b8080c5f47707892ab049fcc471a739833f pngquant-2.11.2-src.tar.gz"
|