diff options
author | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
commit | 5dd7ed82e788ebad2e920e0f2db7468cc6547cfe (patch) | |
tree | f467412e09912ababcd8fe6c05193d829f514dcd /community/fmodex/PKGBUILD | |
parent | 3009e8addb4a894329bf8ab3e8fb763361833978 (diff) |
Sat Dec 29 02:10:20 PST 2012
Diffstat (limited to 'community/fmodex/PKGBUILD')
-rw-r--r-- | community/fmodex/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/fmodex/PKGBUILD b/community/fmodex/PKGBUILD new file mode 100644 index 000000000..8bb9b7e2c --- /dev/null +++ b/community/fmodex/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 80347 2012-11-20 11:44:56Z svenstaro $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> + +# Note: This packae is proprietary and distribution is limited. However, we +# have written permission to by the FMOD CEO to distribute this in binary form. +pkgname=fmodex +pkgver=4.44.01 +pkgrel=1 +pkgdesc="An advanced audio engine" +arch=('i686' 'x86_64') +url="http://www.fmod.org/" +license=('custom') +source=("http://www.fmod.org/index.php/release/version/fmodapi${pkgver//./}linux.tar.gz") +md5sums=('3f32d8e74ac5cc6e581f7c32c71f4d20') + +build() { + cd fmodapi${pkgver//./}linux + + mkdir -p ${pkgdir}/usr/lib + mkdir -p ${pkgdir}/usr/include/fmodex + + cp -d api/lib/* ${pkgdir}/usr/lib/ + [[ $CARCH == "i686" ]] && rm ${pkgdir}/usr/lib/*64* + + if [[ $CARCH == "x86_64" ]]; then + cd ${pkgdir}/usr/lib + ln -sf libfmodex64-${pkgver}.so libfmodex-${pkgver}.so + ln -sf libfmodexL64-${pkgver}.so libfmodexL-${pkgver}.so + cd ${srcdir}/fmodapi${pkgver//./}linux + fi + + cp api/inc/* ${pkgdir}/usr/include/fmodex/ + + install -Dm644 documentation/LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + mkdir -p ${pkgdir}/usr/share/doc/fmodex + cp -r documentation examples ${pkgdir}/usr/share/doc/fmodex +} + +# vim:set ts=2 sw=2 et: |