diff options
Diffstat (limited to 'community/irrlicht/PKGBUILD')
-rw-r--r-- | community/irrlicht/PKGBUILD | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/community/irrlicht/PKGBUILD b/community/irrlicht/PKGBUILD index 1321de38b..c02fadd97 100644 --- a/community/irrlicht/PKGBUILD +++ b/community/irrlicht/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 66356 2012-02-23 23:04:08Z svenstaro $ +# $Id: PKGBUILD 79765 2012-11-12 07:14:50Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Hilton Medeiros <medeiros.hilton AT gmail DOT com> # Contributor: Ali H. Caliskan <ali.h.caliskan AT gmail DOT com> @@ -6,40 +6,31 @@ # Contributor: Lukas Kropatschek <lukas.krop AT gmail DOT com> pkgname=irrlicht -pkgver=1.7.3 +pkgver=1.8 pkgrel=1 pkgdesc="An open source high performance realtime 3D graphics engine." arch=('i686' 'x86_64' 'mips64el') url="http://irrlicht.sourceforge.net/" license=('ZLIB') depends=('libgl' 'libjpeg' 'bzip2' 'libpng') -makedepends=('mesa' 'unzip') -source=("http://downloads.sourceforge.net/irrlicht/$pkgname-$pkgver.zip" - "irrlicht-1.7.2-libpng15.patch") +makedepends=('mesa' 'unzip' 'libxcursor') +optdepends=('libxcursor: run examples') +source=("http://downloads.sourceforge.net/irrlicht/$pkgname-$pkgver.zip") noextract=($pkgname-$pkgver.zip) -md5sums=('cfbdc8c68fbca544c7c8dfb3623ae086' - 'a7f8d4aa1bc2880bbeaf3449e09f69a5') +md5sums=('d06329d8f466658caaf4838ba349e393') build() { unzip $pkgname-$pkgver.zip cd $srcdir/$pkgname-$pkgver - patch -Np0 < $srcdir/irrlicht-1.7.2-libpng15.patch - - sed -i -e '/^#.*NON_SYSTEM_ZLIB/d' \ - -e '/^#.*NON_SYSTEM_JPEG/d' \ - -e '/^#.*NON_SYSTEM_LIB_PNG/d' \ - -e '/^#.*NON_SYSTEM_BZLIB/d' \ - include/IrrCompileConfig.h - cd source/Irrlicht sed -i "/^INSTALL_DIR/s:=.*:=$pkgdir/usr/lib:" \ Makefile - make sharedlib + make NDEBUG=1 sharedlib - make + make NDEBUG=1 install -d $pkgdir/usr/lib \ $pkgdir/usr/share/licenses/$pkgname \ |