aboutsummaryrefslogblamecommitdiffstats
path: root/community/pngquant/APKBUILD
blob: 6150d0528c88d955c95489005c71460327746a84 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                           
                                                   
                
             
        
                              
                          
          
                          

                                                    
                          
                                                                                                               
 
         


                               
            

 
         
                 

 
           
                                      

 
                                                                                                                                                                     
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=pngquant
pkgver=2.13.1
pkgrel=0
pkgdesc="Lossy PNG compressor"
url="https://pngquant.org"
arch="all"
license="GPL-3.0-or-later"
makedepends="libpng-dev lcms2-dev libimagequant-dev"
checkdepends="bash"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kornelski/pngquant/archive/$pkgver/pngquant-$pkgver.tar.gz"

build() {
	./configure \
		--prefix=/usr \
		--with-openmp
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="1e1b521252b7c555be967b1ceee613f1b3f884de31a41562a26369047123d2bab855662188b27889e7f0babf5b0e7bc342a83b4343e2ded7de9d68e4785e8c51  pngquant-2.13.1.tar.gz"