updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / lib32-irrklang / PKGBUILD
blobcf6112a1264dcd7ec2d6045c5be1cb4bfe4b7741
1 # Maintainer  : Dan Vratil <vratil@progdansoft.com>
3 pkgname=lib32-irrklang
4 pkgver=1.3.0b
5 _folderver=1.3.0
6 pkgrel=1
7 pkgdesc="3D audio library (32 bit)"
8 arch=('x86_64')
9 url="http://www.ambiera.com/irrklang"
10 license=('custom')
11 groups=('lib32')
12 makedepends=('unzip')
13 options=(!strip)
14 source=(http://www.ambiera.at/downloads/irrKlang-${pkgver}.zip
15         irrKlang.pc LICENSE)
16 md5sums=('4de24a8bd762750801e5da2215ff48f5'
17          '6d1e3b4dda21d6a127f12e09ae0eef12'
18          '98cdbeb0ccbc5d9b9ba2fce7ba49eb92')
20 package() 
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