aboutsummaryrefslogtreecommitdiffstats
path: root/testing/irrlicht
diff options
context:
space:
mode:
authorxming <xmingske@gmail.com>2014-09-23 08:24:28 +0000
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2014-09-23 10:30:37 +0200
commite538da9cc5e12851ca7e1d67a6b0fcdaa57d44d7 (patch)
treece8c7bd6842b732ef56fcf33b5e3ed9b969b44f4 /testing/irrlicht
parent0abd97aa9a8458f5d3c4246deec374206f8f4b52 (diff)
downloadaports-e538da9cc5e12851ca7e1d67a6b0fcdaa57d44d7.tar.bz2
aports-e538da9cc5e12851ca7e1d67a6b0fcdaa57d44d7.tar.xz
testing/irrlicht: fix the header files location for irrlicht-dev
Diffstat (limited to 'testing/irrlicht')
-rw-r--r--testing/irrlicht/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/irrlicht/APKBUILD b/testing/irrlicht/APKBUILD
index f058436052..3e7457969b 100644
--- a/testing/irrlicht/APKBUILD
+++ b/testing/irrlicht/APKBUILD
@@ -5,7 +5,7 @@ case $pkgver in
*.*.*) _pkgmajver=${pkgver%.*};;
*.*) _pkgmajver=${pkgver};;
esac
-pkgrel=0
+pkgrel=1
pkgdesc="3D graphics engine"
url="http://irrlicht.sourceforge.net"
arch="all"
@@ -75,8 +75,10 @@ package() {
ln -s libIrrlicht.so.$pkgver libIrrlicht.so.1
ln -s libIrrlicht.so.$pkgver libIrrlicht.so.$_pkgmajver
+ rmdir "$pkgdir"/usr/include/$pkgname/include/irricht/
+ rmdir "$pkgdir"/usr/include/$pkgname/include/
mv "$pkgdir"/../include/* "$pkgdir"/usr/include/$pkgname/include/
- mv "$pkgdir"/usr/include/$pkgname/include/irrlicht/* "$pkgdir"/usr/include/$pkgname/include/
+ mv "$pkgdir"/usr/include/$pkgname/include/irrlicht/* "$pkgdir"/usr/include/$pkgname/
rm -rf "$pkgdir"/../include/
install -m755 "$srcdir"/$pkgname-$pkgver/bin/Linux/* "$pkgdir"/usr/share/$pkgname/examples/bin/