summaryrefslogtreecommitdiff
path: root/user/optipng
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-09 20:47:51 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-09 20:47:51 +0000
commit3c13432e40343916eff89123bf10293bbfbb3904 (patch)
tree4ad7a7d85a71b56584df7b0ec5f04ce1a91fedb9 /user/optipng
parent60d9542a45f4c83dda92d185e4409f36be0208d9 (diff)
downloadpackages-3c13432e40343916eff89123bf10293bbfbb3904.tar.gz
packages-3c13432e40343916eff89123bf10293bbfbb3904.tar.bz2
packages-3c13432e40343916eff89123bf10293bbfbb3904.tar.xz
packages-3c13432e40343916eff89123bf10293bbfbb3904.zip
user/optipng: new package
Diffstat (limited to 'user/optipng')
-rw-r--r--user/optipng/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/optipng/APKBUILD b/user/optipng/APKBUILD
new file mode 100644
index 000000000..fcdef5b01
--- /dev/null
+++ b/user/optipng/APKBUILD
@@ -0,0 +1,34 @@
+# 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() {
+ cd "$builddir"
+ ./configure \
+ -prefix=/usr \
+ -mandir=/usr/share/man \
+ -with-system-libs
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="c33b7650143ab39944d2c066e07e10273c37024c5bfe7c00475bfb513af96afa081ff388164845d426d3bce624c0282dee574fa150e963f18d3683d821030280 optipng-0.7.7.tar.gz"