1 # Maintainer : Dan Vratil <vratil@progdansoft.com>
7 pkgdesc="3D audio library (32 bit)"
9 url="http://www.ambiera.com/irrklang"
14 source=(http://www.ambiera.at/downloads/irrKlang-${pkgver}.zip
16 md5sums=('4de24a8bd762750801e5da2215ff48f5'
17 '6d1e3b4dda21d6a127f12e09ae0eef12'
18 '98cdbeb0ccbc5d9b9ba2fce7ba49eb92')
22 install -Dm755 ${srcdir}/irrKlang-${_folderver}/bin/linux-gcc/ikpMP3.so ${pkgdir}/usr/lib32/ikpMP3.so
23 install -Dm755 ${srcdir}/irrKlang-${_folderver}/bin/linux-gcc/libIrrKlang.so ${pkgdir}/usr/lib32/libIrrKlang.so
25 install -dm644 ${pkgdir}/usr/include/irrKlang
26 install -m644 ${srcdir}/irrKlang-${_folderver}/include/* ${pkgdir}/usr/include/irrKlang/
28 install -Ddm644 ${srcdir}/irrKlang-${_folderver}/doc ${pkgdir}/usr/share/doc/irrKlang/
30 mkdir -p ${pkgdir}/usr/share/irrKlang/
31 cp -r ${srcdir}/irrKlang-${_folderver}/examples ${pkgdir}/usr/share/irrKlang/examples
32 cp -r ${srcdir}/irrKlang-${_folderver}/media ${pkgdir}/usr/share/irrKlang/media
33 find ${pkgdir} -type d -exec chmod 755 '{}' \;
35 install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/irrKlang/LICENSE
37 install -Dm644 ${srcdir}/irrKlang.pc ${pkgdir}/usr/lib32/pkgconfig/irrKlang.pc