blob: 7ad5fbe5f300dcbeb4bf527af94953f54072dc45 (
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
28
29
30
31
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=optipng
pkgver=0.7.7
pkgrel=0
pkgdesc="Advanced PNG optimiser"
url="http://optipng.sourceforge.net/"
arch="all"
license="zlib"
depends=""
makedepends="libpng-dev zlib-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/optipng/optipng-$pkgver.tar.gz"
build() {
./configure \
-prefix=/usr \
-mandir=/usr/share/man \
-with-system-libs
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="c33b7650143ab39944d2c066e07e10273c37024c5bfe7c00475bfb513af96afa081ff388164845d426d3bce624c0282dee574fa150e963f18d3683d821030280 optipng-0.7.7.tar.gz"
|