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

# source: step
TARBALL=pngquant-$PKGVER-src.tar.gz
MD5SUM=e2a02de064d6887d563fa12ceb1eb775
SRC_URL=http://pngquant.org/$TARBALL
BUNDLE=

SLACKREQ='libpng zlib'
SLACKDESC="pngquant: pngquant $PKGVER (image compression)
pngquant:  
pngquant: pngquant is a command-line utility and a library for lossy compression of PNG
pngquant: images. The conversion reduces file sizes significantly (often as much as
pngquant: 70%) and preserves full alpha transparency. Generated images are compatible
pngquant: with all web browsers and operating systems.
pngquant: 
pngquant: License: GPL v3
pngquant: 
pngquant: https://pngquant.org/ https://pngquant.org/lib/
pngquant:
"

### default pkg_download
### defaulg pkg_prepare
### default pkg_package
### build
pkg_build() {
        cd /tmp/pngquant-*
        # patch non-standard GNU autotools configure
        sed -i -e 's@"\$CC"@$CC@g' configure lib/configure &&
        ./configure --prefix=/usr && make &&
        make install && pkg_build_slackdesc
}

# vim:ft=sh:
