diff options
author | Anton Leontiev | 2015-07-24 08:45:51 +0300 |
---|---|---|
committer | Anton Leontiev | 2015-07-24 08:45:51 +0300 |
commit | f579fe19c9da992c5ded623de74ba69dc4e8b42b (patch) | |
tree | 0e82697ef89d14609394d928d377c8802de74702 /PKGBUILD | |
parent | 6708c039087ba8ed61962ee581a237a18b4fd82a (diff) | |
download | aur-devil-ilut.tar.gz |
Updated to v1.7.8-3
Add patch for GCC 5.x.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -5,7 +5,7 @@ pkgname=devil-ilut pkgver=1.7.8 -pkgrel=2 +pkgrel=3 pkgdesc='Library for reading several different image formats (includes ILUT)' arch=('i686' 'x86_64') url='http://openil.sourceforge.net/' @@ -15,13 +15,21 @@ options=('!docs' '!emptydirs') license=('GPL') provides=('devil') conflicts=('devil') -source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz libpng14.patch) +source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz + libpng14.patch gcc-5.0.patch) md5sums=('7918f215524589435e5ec2e8736d5e1d' - '0f839ccefd43b0ee8b4b3f99806147fc') + '0f839ccefd43b0ee8b4b3f99806147fc' + '8d1b5d973c93927f60f775aecb448e77') -build() { +prepare() { cd devil-$pkgver + patch -Np1 -i ../libpng14.patch + patch -Np1 -i ../gcc-5.0.patch +} + +build() { + cd devil-$pkgver if [[ $CARCH != x86_64 ]]; then OPTIMIZATION=--disable-sse3 @@ -36,5 +44,6 @@ build() { package() { cd devil-$pkgver + make prefix="${pkgdir}/usr" install } |