From 8764f20850d958a74c27086e80731581a5ee58d5 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Mon, 7 Mar 2016 12:48:54 +0100 Subject: testing/pngquant: new aport --- testing/pngquant/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 testing/pngquant/APKBUILD (limited to 'testing/pngquant/APKBUILD') diff --git a/testing/pngquant/APKBUILD b/testing/pngquant/APKBUILD new file mode 100644 index 0000000000..656c85e2ba --- /dev/null +++ b/testing/pngquant/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=pngquant +pkgver=2.6.0 +pkgrel=0 +pkgdesc="Lossy PNG compressor" +url="https://pngquant.org/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="$depends_dev libpng-dev" +install="" +subpackages="$pkgname-doc" +source="pngquant-$pkgver.tar.gz::https://github.com/pornel/pngquant/archive/$pkgver.tar.gz" + +_builddir="$srcdir"/pngquant-$pkgver +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="52541b98380aa247a837ba23ec9ea0d9 pngquant-2.6.0.tar.gz" +sha256sums="ea897936c418c15329914d0dbbbce0a764f808e9f161b3103acf23eb71022e09 pngquant-2.6.0.tar.gz" +sha512sums="e683ed08e6c0740b86073ab3de2a4918b3ae3632bbe83837404a2565362c6225756002b053ff0ea2f35f37ad93ca8e4d57dc0299f965b808f011f5e814a07227 pngquant-2.6.0.tar.gz" -- cgit v1.2.3