SHARE
TWEET

vrep PKGBUILD

a guest Mar 26th, 2019 22 in 95 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: patrickelectric <patrickelectric {a.t} gmail {d.o.t} com>
  2.  
  3. pkgname=vrep
  4. pkgver=3_6_1
  5. pkgrel=1
  6. epoch=1
  7. pkgdesc="V-REP is the Swiss army knife among robot simulators.
  8.  
  9. V-REP is used for fast algorithm development, factory automation simulations,
  10. fast prototyping and verification, robotics related education, remote monitoring,
  11. safety double-checking, etc."
  12. arch=("x86_64")
  13. url="http://www.coppeliarobotics.com/index.html"
  14. license=("GPL" "LGPL")
  15. #depends=('')
  16. makedepends=('')
  17. #optdepends=('')
  18. options=(!strip)
  19. install=""
  20. source=("http://coppeliarobotics.com/files/V-REP_PRO_EDU_V${pkgver}_Ubuntu18_04.tar.xz"
  21.         "vrep.sh")
  22. md5sums=('fe424acbb0cbf315af9e67b4618c1180'
  23.          'a5f75fcd3c08b1a8c93f74997006e5d5')
  24. prepare()
  25. {
  26.     echo "nothing to prepare"
  27. }
  28.  
  29. build() {
  30.     echo "nothing to build"
  31. }
  32.  
  33. package() {
  34.     # Create wrapper for java8 + buider and documentation symlink
  35.     install -Dm755 "vrep.sh" "${pkgdir}/usr/bin/vrep"
  36.  
  37.     if [ "$CARCH" = x86_64 ]
  38.     then
  39.         cd "${srcdir}/V-REP_PRO_EDU_V${pkgver}_Ubuntu18_04"
  40.     else
  41.         cd "${srcdir}/V-REP_PRO_EDU_V${pkgver}_Ubuntu18_04"
  42.     fi
  43.  
  44.     # Copy the whole thing
  45.     install -dm766 "${pkgdir}/usr/share/vrep"
  46.     yes | cp -prf . "${pkgdir}/usr/share/vrep"
  47.     chmod -R 777 "${pkgdir}/usr/share/vrep"
  48. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top