diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-03-07 12:48:54 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-03-07 12:49:27 +0100 |
commit | 8764f20850d958a74c27086e80731581a5ee58d5 (patch) | |
tree | 315b00ff95d7fa577c5ed09e5507e4af76c81067 /testing/pngquant/APKBUILD | |
parent | bc60e28d20f20b6717577367d72d6276fb6fc6ec (diff) | |
download | aports-8764f20850d958a74c27086e80731581a5ee58d5.tar.bz2 aports-8764f20850d958a74c27086e80731581a5ee58d5.tar.xz |
testing/pngquant: new aport
Diffstat (limited to 'testing/pngquant/APKBUILD')
-rw-r--r-- | testing/pngquant/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
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 <clandmeter@gmail.com> +# 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" |