blob: a9f40f703995f40279071f7db31b36d71ff1e395 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Vincent Grande <shoober420@gmail.com>
# Contributor: Philip Abernethy <chais.z3r0@gmail.com>
pkgname=libfmod
pkgver=4.44.64
pkgrel=2
pkgdesc="Libraries of the fmodex audio engine"
arch=('i686' 'x86_64')
url="http://www.fmod.org/"
license=('custom')
conflicts=('fmodex')
source=("https://zdoom.org/files/fmod/fmodapi44464linux.tar.gz")
sha256sums=('21a24f1394ae6981a47be0281f69ce41201801e59fb88084c49c5fd5459af010')
package() {
if [ $CARCH == 'i686' ]; then
install -Dm644 ${srcdir}/fmodapi${pkgver//./}linux/api/lib/libfmodex-${pkgver}.so ${pkgdir}/usr/lib/libfmodex-${pkgver}.so
install -m644 ${srcdir}/fmodapi${pkgver//./}linux/api/lib/libfmodexL-${pkgver}.so ${pkgdir}/usr/lib/libfmodexL-${pkgver}.so
install -m644 ${srcdir}/fmodapi${pkgver//./}linux/fmoddesignerapi/api/lib/libfmodevent-${pkgver}.so ${pkgdir}/usr/lib/libfmodevent-${pkgver}.so
install -m644 ${srcdir}/fmodapi${pkgver//./}linux/fmoddesignerapi/api/lib/libfmodeventL-${pkgver}.so ${pkgdir}/usr/lib/libfmodeventL-${pkgver}.so
install -m644 ${srcdir}/fmodapi${pkgver//./}linux/fmoddesignerapi/api/lib/libfmodeventnet-${pkgver}.so ${pkgdir}/usr/lib/libfmodeventnet-${pkgver}.so
else
install -Dm644 ${srcdir}/fmodapi${pkgver//./}linux/api/lib/libfmodex64-${pkgver}.so ${pkgdir}/usr/lib/libfmodex-${pkgver}.so
install -m644 ${srcdir}/fmodapi${pkgver//./}linux/api/lib/libfmodexL64-${pkgver}.so ${pkgdir}/usr/lib/libfmodexL-${pkgver}.so
install -m644 ${srcdir}/fmodapi${pkgver//./}linux/fmoddesignerapi/api/lib/libfmodevent64-${pkgver}.so ${pkgdir}/usr/lib/libfmodevent-${pkgver}.so
install -m644 ${srcdir}/fmodapi${pkgver//./}linux/fmoddesignerapi/api/lib/libfmodeventL64-${pkgver}.so ${pkgdir}/usr/lib/libfmodeventL-${pkgver}.so
install -m644 ${srcdir}/fmodapi${pkgver//./}linux/fmoddesignerapi/api/lib/libfmodeventnet64-${pkgver}.so ${pkgdir}/usr/lib/libfmodeventnet-${pkgver}.so
fi
ln -s libfmodex-${pkgver}.so ${pkgdir}/usr/lib/libfmodex.so
ln -s libfmodexL-${pkgver}.so ${pkgdir}/usr/lib/libfmodexL.so
ln -s libfmodevent-${pkgver}.so ${pkgdir}/usr/lib/libfmodevent.so
ln -s libfmodeventL-${pkgver}.so ${pkgdir}/usr/lib/libfmodeventL.so
ln -s libfmodeventnet-${pkgver}.so ${pkgdir}/usr/lib/libfmodeventnet.so
install -Dm644 ${srcdir}/fmodapi${pkgver//./}linux/documentation/LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|