# Maintainer Stefan Husmann # Contributor: Mihai Militaru # Contributor: scippio pkgname=freeimage pkgver=3.13.0 pkgrel=1 pkgdesc="Library project for developers who would like to support popular graphics image formats." arch=('i686' 'x86_64') license=('GPL' 'custom:FIPL') url="http://freeimage.sourceforge.net/" depends=('gcc-libs') makedepends=('hd2u') source=(http://downloads.sourceforge.net/sourceforge/freeimage/FreeImage3130.zip) md5sums=('5f64fd50ce18833edc27cf55d90c12c3') build() { cd ${srcdir}/FreeImage make || return 1 make DESTDIR=${pkgdir} install || return 1 make -f Makefile.fip || return 1 make -f Makefile.fip DESTDIR=${pkgdir} install || return 1 install -Dm644 $srcdir/FreeImage/license-fi.txt \ $pkgdir/usr/share/licenses/$pkgname/license-fi.txt }