summaryrefslogtreecommitdiff
path: root/community/irrlicht
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-13 01:32:19 -0800
committerroot <root@rshg054.dnsready.net>2012-11-13 01:32:19 -0800
commita29329c38e50afd28d28c3a99e35d8774b9b19f8 (patch)
tree42f4b2e44d0f2fcce6dff4f44ba48e623437b16e /community/irrlicht
parentb863c91c6c9218e2ad9458231b24385be177ed08 (diff)
Tue Nov 13 01:32:13 PST 2012
Diffstat (limited to 'community/irrlicht')
-rw-r--r--community/irrlicht/PKGBUILD25
1 files changed, 8 insertions, 17 deletions
diff --git a/community/irrlicht/PKGBUILD b/community/irrlicht/PKGBUILD
index ca166de12..53ac71ce8 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')
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 \