PKGBUILDs/community/freeimage/PKGBUILD

25 lines
864 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# 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
}