### this file is sourced not run
PKGVER=0.7.7
PKGBUILD=1
PKGARCH=x86_64

# source: step
TARBALL=optipng-$PKGVER.tar.gz
MD5SUM=211101965baf42fd24a2aa990b7e842e
SRC_URL=http://prdownloads.sourceforge.net/optipng/$TARBALL?download
BUNDLE=

SLACKREQ=
SLACKDESC="optipng: optipng $PKGVER (PNG optimization tool)
optipng:
optipng: OptiPNG is a PNG optimizer that recompresses image files to a smaller size,
optipng: without losing any information. This program also converts external formats
optipng: (BMP, GIF, PNM and TIFF) to optimized PNG, and performs PNG integrity checks
optipng: and corrections.
optipng:
optipng: https://optipng.sourceforge.net
optipng:
optipng:
optipng:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
pkg_build() {
	cd /tmp/optipng-* &&
	./configure -prefix=/usr -mandir=/usr/share/man -with-system-libs &&
	make $MAKEFLAGS &&
	make install $MAKEINSTALLFLAGS &&
	pkg_build_slackdesc
}

# se:vim=sh:

