desktop/freeimage/PKGBUILD
2014-04-01 21:25:32 +00:00

38 lines
895 B
Bash

# Maintainer: UtG <utg.chakra.linux[AT]gmail[dot]com>
pkgname=freeimage
pkgver=3.16.0
pkgrel=1
pkgdesc="Library project for developers who would like to support popular graphics image formats."
arch=('x86_64')
license=('GPL' 'custom:FIPL')
url="http://freeimage.sourceforge.net/"
depends=('gcc-libs')
makedepends=('hd2u')
categories=('programming')
source=(
"http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
md5sums=('1a2d1fff6204adbd479cc98818892fc1')
build() {
cp -r FreeImage FreeImagefip
cd FreeImage
make
cd ${srcdir}/FreeImagefip
make -f Makefile.fip
}
package() {
cd FreeImage
make DESTDIR=$pkgdir install
cd $srcdir/FreeImagefip
make -f Makefile.fip DESTDIR=$pkgdir install
# License
install -D -m644 $srcdir/FreeImage/license-fi.txt \
$pkgdir/usr/share/licenses/$pkgname/license-fi.txt
}