updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / scale2x / PKGBUILD
blobf1f8181322513f647cc809edfb2de0ef559db8e4
1 # Maintainer: ConnorBehan <connor.behan@gmail.com>
2 # Contributor: ConnorBehan <connor.behan@gmail.com>
3 pkgname=scale2x
4 pkgver=2.4
5 pkgrel=2
6 pkgdesc="Bitmap scaling algorithm that improves the resolution of a PNG"
7 arch=(i686 x86_64)
8 url="http://scale2x.sourceforge.net/"
9 license=('GPL')
10 depends=('libpng>=1.4')
11 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
13 build() {
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
17   make || return 1
18   make prefix=$startdir/pkg/usr install
20 md5sums=('b89ccfa6df5f059355951dbf69fc163c')