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

                                   
                                          
          
              
                                 
                                                                            
                                         
 
         
                       

                                  


           
                                      

 
                                                                                                                                                                           
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=pngcrush
pkgver=1.8.13
pkgrel=0
pkgdesc="PNG recompression utility"
url="http://pmt.sourceforge.net/pngcrush/"
arch="all"
license="Zlib"
makedepends="zlib-dev libpng-dev"
source="https://downloads.sourceforge.net/pmt/pngcrush-$pkgver-nolib.tar.xz"
builddir="$srcdir/$pkgname-$pkgver-nolib"

build() {
	make CC="$CC" \
		CFLAGS="$CFLAGS" \
		LDFLAGS="$LDFLAGS"
}

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

sha512sums="c073d573e9b13b72fa39b178271ce65d1a19fef35943ef0a9e6121a5c66d9db212aaad38ab777c5b44e20a107eb677003acbdb4a354bcb2dc40f535a97d9df0e  pngcrush-1.8.13-nolib.tar.xz"