blob: 0e2c7f6b3b46b715ceb8628074ae37a4160884fb (
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
|
# Maintainer: Eric Langlois <eric@langlois.xyz>
pkgname=mujoco-bin
pkgver=3.2.5
_pkgname="${pkgname%-bin}"
pkgrel=1
pkgdesc="Multi-Joint dynamics with Contact. A general purpose physics simulator."
arch=('x86_64' 'aarch64')
url="https://www.mujoco.org"
license=('Apache')
depends=('libgl' 'glfw')
provides=('mujoco')
conflicts=('mujoco')
_src_url_prefix="https://github.com/deepmind/${_pkgname}/releases/download/${pkgver}/${_pkgname}-${pkgver}-linux"
source_x86_64=("${_src_url_prefix}-x86_64.tar.gz")
source_aarch64=("${_src_url_prefix}-aarch64.tar.gz")
sha256sums_x86_64=('fe3a50bcc0b90a28f067561c05a827447b4791b5f76061d283e3162dd1e527c4')
sha256sums_aarch64=('2c436f9b69f8ac3fce06d6eb59099975824587db80fb8531cb87defb8f8ea4fe')
package() {
cd "${_pkgname}-${pkgver}"
# Library and header files
install -d "$pkgdir/usr/"
cp -r include "$pkgdir/usr/"
cp -r lib "$pkgdir/usr/"
# Sample binaries
cp -r bin "$pkgdir/usr/lib/${_pkgname}"
# Sample code and models -- install as documentation
install -d "$pkgdir/usr/share/doc/${_pkgname}"
cp -r model "$pkgdir/usr/share/doc/${_pkgname}/"
cp -r sample "$pkgdir/usr/share/doc/${_pkgname}/"
# License
install -Dm644 -t "$pkgdir/usr/share/licenses/${_pkgname}/" \
THIRD_PARTY_NOTICES
}
|