PKGBUILDs/community/freeimage/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
864 B
Bash

# Maintainer Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Mihai Militaru <mihai.militaru@gmx.com>
# Contributor: scippio <scippio@berounet.cz>
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
}