summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c4f642271abd20a011a64a76ca2bc73388306bb (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
# Maintainer: patrickelectric <patrickelectric {a.t} gmail {d.o.t} com>

pkgname=vrep
pkgver=3_5_0
pkgrel=4
epoch=1
pkgdesc="V-REP is the Swiss army knife among robot simulators.

V-REP is used for fast algorithm development, factory automation simulations,
fast prototyping and verification, robotics related education, remote monitoring,
safety double-checking, etc."
arch=("x86_64")
url="http://www.coppeliarobotics.com/index.html"
license=("GPL" "LGPL")
#depends=('')
makedepends=('')
#optdepends=('')
options=(!strip)
install=""
source=("http://coppeliarobotics.com/files/V-REP_PRO_EDU_V3_5_0_Linux.tar.gz"
        "vrep.sh")
md5sums=('9d13015c305a0c1d9ba007ef67b4858b'
         'a5f75fcd3c08b1a8c93f74997006e5d5')
prepare()
{
    echo "nothing to prepare"
}

build() {
    echo "nothing to build"
}

package() {
    # Create wrapper for java8 + buider and documentation symlink
    install -Dm755 "vrep.sh" "${pkgdir}/usr/bin/vrep"

    if [ "$CARCH" = x86_64 ]
    then
        cd "${srcdir}/V-REP_PRO_EDU_V${pkgver}_Linux"
    else
        cd "${srcdir}/V-REP_PRO_EDU_V${pkgver}_Linux"
    fi

    # Copy the whole thing
    install -dm766 "${pkgdir}/usr/share/vrep"
    yes | cp -prf . "${pkgdir}/usr/share/vrep"
    chmod -R 777 "${pkgdir}/usr/share/vrep"
}