blob: 7d2f26d1e2199a760774c6c8040d57b463152ccc (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: <hurricanepootis@protonmail.com>
# Contributor: bartus <arch-user-repoᘓbartus.33mail.com>
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=('fbx-sdk' 'fbx-sdk-docs')
pkgbase='fbx-sdk'
pkgver=2020.3.7
pkgrel=1
pkgdesc='Platform and API toolkit to transfer existing content into the FBX format.'
arch=('x86_64')
url='http://www.autodesk.com/products/fbx/overview'
depends=(gcc-libs libxml2 zlib glibc)
makedepends=(rsync)
license=('LicenseRef-Autodesk-FBX-SDK-2020-License')
install='fbx-sdk.install'
source=("https://damassets.autodesk.net/content/dam/autodesk/www/files/fbx${pkgver//.}_fbxsdk_gcc_linux.tar.gz")
sha256sums=('191c6b0a549f1e70154a04705ddbf52232d049a6e5ae17801a2bc2bf60b84e0b')
build() {
mkdir -p "${srcdir}/fbx-sdk"
chmod 755 "${srcdir}/fbx${pkgver//./}_fbxsdk_linux"
printf "yes\nn\n" | "${srcdir}/fbx${pkgver//./}_fbxsdk_linux" "${srcdir}/fbx-sdk"
}
package_fbx-sdk() {
cd "$srcdir/fbx-sdk"
optdepends=('fbx-sdk-docs: Documentation')
install -Dm644 "lib/release/libfbxsdk.so" "$pkgdir/usr/lib/libfbxsdk.so"
rsync -a -r include "$pkgdir/usr"
install -D "License.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# strip rpath
#patchelf --remove-rpath "$pkgdir"/usr/lib/libfbxsdk.so
}
package_fbx-sdk-docs() {
cd "$srcdir/fbx-sdk"
depends=()
install -dm755 "$pkgdir/usr/share/doc/${pkgname::7}"
install -Dm644 License.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
rsync -a -r samples "$pkgdir/usr/share/doc/${pkgname::7}"
install -D "FBX_SDK_Online_Documentation.html" \
"$pkgdir/usr/share/doc/${pkgname::7}/FBX_SDK_Online_Documentation.html"
cd "$pkgdir/usr/share/doc/${pkgname::7}"
find -type f -exec chmod 644 {} \;
find -type d -exec chmod 755 {} \;
}
|