4javier

STS-4.8.0

Sep 18th, 2020
54
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Current maintainer: Musikolo <musikolo {at} hotmail [dot] com>
  2. # Previous maintainer: Joseph Post <joe [at] jcpst [dot] com>
  3. # Previous maintainer: Andrew Paugh <andrew [dot] paugh [at] gmail [dot] com>
  4. # Updates by maintainer: Chris Fordham <chris [at] fordham [hyphon] nagy [dot] id [dot] au>
  5. # Original maintainer: Marcin
  6.  
  7. pkgname=spring-tool-suite
  8. pkgver=4.8.0
  9. _pkgver_release=$pkgver.RELEASE
  10. _eclipse_pkgver=e4.17.0
  11. _eclipse_pkgver_short=e4.17
  12. pkgrel=1
  13. pkgdesc="The Spring Tool Suite (STS) from SpringSource"
  14. arch=('x86_64')
  15. url="https://spring.io/tools"
  16. depends=('java-environment' 'unzip' 'webkit2gtk')
  17. conflicts=('springsource-tool-suite')
  18. install=${pkgname}.install
  19. license=("EPL/1.1")
  20.  
  21. source_x86_64=(
  22. "http://download.springsource.com/release/STS4/${_pkgver_release}/dist/${_eclipse_pkgver_short}/${pkgname}-4-${_pkgver_release}-${_eclipse_pkgver}-linux.gtk.x86_64.tar.gz"
  23. "${pkgname}.desktop"
  24. )
  25. sha256sums_x86_64=('beed1e6c4e4b6ac521ce8afcd5146c0f71771f2b31e9ce4236bffd36842e86b3'
  26. '4f3891945c9f86d2efa5b388d0da74d323b28795c46cbb35c56073e1e4cade32')
  27.  
  28. package() {
  29. # install eclipse
  30. install -m755 -d "${pkgdir}/opt"
  31. mv "${srcdir}/sts-${_pkgver_release}" "${pkgdir}/opt/"
  32.  
  33. # install misc
  34. install -d ${pkgdir}/usr/bin ${pkgdir}/usr/share/applications
  35. install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/"
  36. ln -s "/opt/sts-${_pkgver_release}/SpringToolSuite4" ${pkgdir}/usr/bin/STS
  37. ln -s "/opt/sts-${_pkgver_release}" "${pkgdir}/opt/sts4"
  38.  
  39. # install icon
  40. install -m755 -d "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
  41. ln -s "/opt/sts-${_pkgver_release}/icon.xpm" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.xpm"
  42. }
RAW Paste Data