updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / lib32-fmodex / PKGBUILD
blobdea9f009065bad311cb0640bce2b5a5fa177c3f2
1 # Maintainer: kfgz <kfgz at interia pl>
2 # Contributor: Christos Kotsaris <christos dot kotsaris at gmail dot com>
4 pkgname=lib32-fmodex
5 pkgver=4.38.00
6 pkgrel=1
7 pkgdesc="An advanced audio engine"
8 arch=('x86_64')
9 url="http://www.fmod.org/"
10 license=('unknown')
11 depends=('lib32-gcc-libs' 'fmodex')
12 source=(http://www.fmod.org/index.php/release/version/fmodapi${pkgver//./}linux.tar.gz)
13 md5sums=('a0dfa0ae2b7e85ae42657e1b5c3970eb')
15 package() {
16   cd "${srcdir}"/fmodapi${pkgver//./}linux
17   install -dm755 "${pkgdir}"/usr/lib32
18   
19   make DESTLIBDIR="${pkgdir}"/usr/lib32 \
20        DESTHDRDIR="${pkgdir}"/usr/include/fmodex \
21        install
23   ln -sf "/usr/lib32/libfmodex-${pkgver}.so" "${pkgdir}"/usr/lib32/libfmodex.so
24   ln -sf "/usr/lib32/libfmodexL-${pkgver}.so" "${pkgdir}"/usr/lib32/libfmodexL.so
25   
26   rm -rf "${pkgdir}"/usr/include