diff options
author | xming <xmingske@gmail.com> | 2014-09-23 08:24:28 +0000 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-09-23 10:30:37 +0200 |
commit | e538da9cc5e12851ca7e1d67a6b0fcdaa57d44d7 (patch) | |
tree | ce8c7bd6842b732ef56fcf33b5e3ed9b969b44f4 /testing/irrlicht/APKBUILD | |
parent | 0abd97aa9a8458f5d3c4246deec374206f8f4b52 (diff) | |
download | aports-e538da9cc5e12851ca7e1d67a6b0fcdaa57d44d7.tar.bz2 aports-e538da9cc5e12851ca7e1d67a6b0fcdaa57d44d7.tar.xz |
testing/irrlicht: fix the header files location for irrlicht-dev
Diffstat (limited to 'testing/irrlicht/APKBUILD')
-rw-r--r-- | testing/irrlicht/APKBUILD | 6 |
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/ |