summaryrefslogtreecommitdiff
path: root/community/freeimage
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-20 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-03-20 00:01:23 +0000
commit99136e3a2e9f6f07a7ff08d5721bce354b853c8b (patch)
tree3cd677128a00bc9501f93e27e53ebba72f44cd52 /community/freeimage
parentde5b6982e42f4a1e8b0537cfbc1b676e2a81f195 (diff)
Tue Mar 20 00:01:23 UTC 2012
Diffstat (limited to 'community/freeimage')
-rw-r--r--community/freeimage/PKGBUILD21
1 files changed, 7 insertions, 14 deletions
diff --git a/community/freeimage/PKGBUILD b/community/freeimage/PKGBUILD
index 56cd2ccb4..a1809083f 100644
--- a/community/freeimage/PKGBUILD
+++ b/community/freeimage/PKGBUILD
@@ -1,44 +1,37 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Mihai Militaru <mihai.militaru@gmx.com>
# Contributor: scippio <scippio@berounet.cz>
pkgname=freeimage
-pkgver=3.15.1
+pkgver=3.15.3
pkgrel=1
-pkgdesc="Library project for developers who would like to support popular graphics image formats."
+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/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip"
- 'gcc4.5_ln.patch')
-md5sums=('450d2ff278690b0d1d7d7d58fad083cc'
- 'f85279b2572a0a9e03775909cd9cd759')
+source=("http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
+md5sums=('6c305b4086500ff8541c596ea6fc7cd7')
build() {
cp -r FreeImage FreeImagefip
cd FreeImage
- patch -Np1 < ${srcdir}/gcc4.5_ln.patch
make
cd ${srcdir}/FreeImagefip
- patch -Np1 < ${srcdir}/gcc4.5_ln.patch
make -f Makefile.fip
}
package() {
cd FreeImage
- make DESTDIR=${pkgdir} install
+ make DESTDIR=${pkgdir} install || true
cd ${srcdir}/FreeImagefip
make -f Makefile.fip DESTDIR=${pkgdir} install
- install -D -m644 ${srcdir}/FreeImage/license-fi.txt \
- ${pkgdir}/usr/share/licenses/${pkgname}/license-fi.txt
-
- ln -s libfreeimage-${pkgver}.so ${pkgdir}/usr/lib/libfreeimage.so
- ln -s libfreeimageplus-${pkgver}.so ${pkgdir}/usr/lib/libfreeimageplus.so
+ install -D -m644 ${srcdir}/FreeImage/license-fi.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}