blob: c1d4f220243f069404f01d524feaa5db625db251 (
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: Dan Trickey
# Contributor: Dan Trickey
# This file is automatically generated by Arch Nemesis
pkgname=webots-nightly
pkgver=2020731
pkgrel=1
pkgdesc="Mobile robot simulation software."
arch=('x86_64')
url="https://cyberbotics.com/"
license=('Apache')
groups=('')
depends=("make" "gcc" "atk>=1.9.0" "ffmpeg" "dbus" "freeimage>=3.15.4" "glib2>2.10.0" "glu"
"gtk3" "nss" "gcc-libs" "libxaw" "libxrandr" "libxrender"
"zziplib>=0.13.62" "libssh" "libzip" "libx11" "xorg-server" "libxslt" "gd"
"freetype2")
optdepends=('alsa-lib' 'cairo' 'dbus' 'desktop-file-utils' 'expat' 'fontconfig' 'gdk-pixbuf2' 'hicolor-icon-theme' 'jre-openjdk-headless' 'libcups' 'libglvnd' 'libjpeg-turbo' 'libpulse' 'libxaw' 'libxcb' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxkbcommon' 'libxkbcommon-x11' 'libxrandr' 'libxrender' 'libxtst' 'nspr' 'nss' 'openal' 'openssl' 'pango' 'qt5-base' 'qt5-declarative' 'qt5-location' 'qt5-multimedia' 'qt5-webchannel' 'qt5-webengine' 'qt5-websockets' 'xorg-server' 'zlib')
options=('!strip' '!emptydirs')
install=webots.install
source_x86_64=("https://github.com/cyberbotics/webots/releases/download/nightly_31_7_2020/webots_2020b-rev1_amd64.deb")
sha512sums_x86_64=('765f3c4038b51529e08012a1f18bc5cc5de754a63f014f78fd6e83a7d650d3e94df294ceea6eb1aa6b65009d8adefa79c4f210ceac33c66e98782dd40e647a8c')
package(){
# Extract package data
tar xzf data.tar.gz -C "${pkgdir}"
# Fix directory structure differences
cd "${pkgdir}"
mkdir usr/bin 2> /dev/null; mv usr/local/bin/* usr/bin; rm -rf usr/local/bin
#ls usr/share/applications/*.desktop | while read line; do
#sed -i s'^\/Exec=\/usr\/local\/bin/\/Exec=\/usr\/bin//g'
#done
cd ..
}
|