1 # Maintainer: ConnorBehan <connor.behan@gmail.com>
2 # Contributor: ConnorBehan <connor.behan@gmail.com>
6 pkgdesc="Bitmap scaling algorithm that improves the resolution of a PNG"
8 url="http://scale2x.sourceforge.net/"
10 depends=('libpng>=1.4')
11 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
14 cd ${startdir}/src/${pkgname}-${pkgver}
15 sed -i -e 's/png_set_gray/png_set_expand_gray/g' file.c
16 ./configure --prefix=/usr
18 make prefix=$startdir/pkg/usr install
20 md5sums=('b89ccfa6df5f059355951dbf69fc163c')