aboutsummaryrefslogtreecommitdiffstats
path: root/testing/irrlicht/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/irrlicht/APKBUILD')
-rw-r--r--testing/irrlicht/APKBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/irrlicht/APKBUILD b/testing/irrlicht/APKBUILD
index 96442ac50a..6d1405ba2d 100644
--- a/testing/irrlicht/APKBUILD
+++ b/testing/irrlicht/APKBUILD
@@ -1,6 +1,7 @@
# Maintainer: Jeff Bilyk <jbilyk@alpinelinux.org>
pkgname=irrlicht
pkgver=1.7.2
+_pkgmajver=1.7
pkgrel=0
pkgdesc="3D graphics engine"
url="http://irrlicht.sourceforge.net"
@@ -64,8 +65,10 @@ package() {
cd "$pkgdir"/usr/lib
mv ../../libIrrlicht* ./
ln -s libIrrlicht.so.$pkgver libIrrlicht.so.1
+ ln -s libIrrlicht.so.$pkgver libIrrlicht.so.$_pkgmajver
mv "$pkgdir"/../include/* "$pkgdir"/usr/include/$pkgname/include/
+ mv "$pkgdir"/usr/include/$pkgname/include/irrlicht/* "$pkgdir"/usr/include/$pkgname/include/
rm -rf "$pkgdir"/../include/
install -m755 "$srcdir"/$pkgname-$pkgver/bin/Linux/* "$pkgdir"/usr/share/$pkgname/examples/bin/