mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
25 lines
864 B
Bash
25 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
|
||
|
}
|