diff options
author | root <root@rshg054.dnsready.net> | 2011-12-08 23:14:54 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-08 23:14:54 +0000 |
commit | 707457876743e969be9eb163c36928978df245cd (patch) | |
tree | 24ed2c08e3ace85c9cee2302e97438421ca3f03d /community/devil | |
parent | 6f9a9504db6338f0c35c4ca70bad42965b74791a (diff) |
Thu Dec 8 23:14:54 UTC 2011
Diffstat (limited to 'community/devil')
-rw-r--r-- | community/devil/PKGBUILD | 16 | ||||
-rw-r--r-- | community/devil/devil.install | 11 |
2 files changed, 19 insertions, 8 deletions
diff --git a/community/devil/PKGBUILD b/community/devil/PKGBUILD index 42b0688a1..4cf31e845 100644 --- a/community/devil/PKGBUILD +++ b/community/devil/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 57890 2011-11-04 08:33:14Z lcarlier $ -# Maintainer: damir <damir@archlinux.org> +# $Id: PKGBUILD 60209 2011-12-07 16:29:05Z svenstaro $ +# Maintainer: Laurent Carlier <lordheavym@gmail.org> +# Contributor: damir <damir@archlinux.org> # Contributor: TheHoff <forums> pkgname=devil pkgver=1.7.8 -pkgrel=8 +pkgrel=9 pkgdesc="Library for reading several different image formats" arch=('i686' 'x86_64') url="http://openil.sourceforge.net/" -depends=('allegro4' 'sdl' 'libpng' 'libmng' 'freeglut' - 'jasper' 'lcms' 'openexr') -makedepends=('bash') -options=('!libtool' '!docs') +depends=('libpng' 'libmng' 'jasper' 'lcms' 'openexr') +install=devil.install +options=('!libtool' '!docs' '!emptydirs') license=('GPL') source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz libpng14.patch) md5sums=('7918f215524589435e5ec2e8736d5e1d' @@ -22,7 +22,7 @@ build() { patch -Np1 -i ${srcdir}/libpng14.patch - ./configure --prefix=/usr --enable-ILU --enable-ILUT --enable-opengl --enable-sdl + ./configure --prefix=/usr --enable-ILU make } diff --git a/community/devil/devil.install b/community/devil/devil.install new file mode 100644 index 000000000..8336ac3d1 --- /dev/null +++ b/community/devil/devil.install @@ -0,0 +1,11 @@ +infodir=usr/share/info + +post_upgrade() { + [ -x usr/bin/install-info ] || return 0 + install-info $infodir/DevIL_manual.info.gz $infodir/dir 2> /dev/null +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + install-info --delete $infodir/DevIL_manual.info.gz $infodir/dir 2> /dev/null +} |