aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pngquant
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-03-15 20:45:53 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-03-17 20:53:29 +0100
commit192d24bda7fba913f21d6279da9659d61bb3eccc (patch)
tree91f4482c369b548fcff591c2ee45d42fa64ecc7c /testing/pngquant
parentbd56fc8d9773c387bb3e7ad03485631a0c4b4094 (diff)
downloadaports-192d24bda7fba913f21d6279da9659d61bb3eccc.tar.bz2
aports-192d24bda7fba913f21d6279da9659d61bb3eccc.tar.xz
testing/pngquant: upgrade to 2.9.0 and claim maintainership
Diffstat (limited to 'testing/pngquant')
-rw-r--r--testing/pngquant/APKBUILD30
1 files changed, 9 insertions, 21 deletions
diff --git a/testing/pngquant/APKBUILD b/testing/pngquant/APKBUILD
index 3b07eebcfd..8dfc2f8881 100644
--- a/testing/pngquant/APKBUILD
+++ b/testing/pngquant/APKBUILD
@@ -1,38 +1,26 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
+# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=pngquant
-pkgver=2.6.0
+pkgver=2.9.0
pkgrel=0
pkgdesc="Lossy PNG compressor"
url="https://pngquant.org/"
arch="all"
license="GPL"
-depends=""
-depends_dev=""
-makedepends="$depends_dev libpng-dev bash"
-install=""
+makedepends="libpng-dev lcms2-dev bash"
subpackages="$pkgname-doc"
-source="pngquant-$pkgver.tar.gz::https://github.com/pornel/pngquant/archive/$pkgver.tar.gz"
+source="http://pngquant.org/$pkgname-$pkgver-src.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
-_builddir="$srcdir"/pngquant-$pkgver
build() {
- cd "$_builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
+ cd "$builddir"
+ ./configure --prefix=/usr || return 1
make || return 1
}
package() {
- cd "$_builddir"
+ 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"
+sha512sums="f77b61c2986314600b7e3162def59406cd90abf397bb23b64196563f4f4e77a710e594ce51a7daa66db33dcd76c98cb027d6e12497375963a7352f11ee2f6b8d pngquant-2.9.0-src.tar.gz"