SHARE
TWEET

PKGBUILD

a guest Sep 29th, 2018 234 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer:  chet <chetgurevitch @ protonmail . com>
  2. # Contributor: saulhidalgoaular <saulhidalgoaular @ gmail . com>
  3. # Contributor: teacher4711 <inverness1 @ gmx . de>
  4. # Contributor: fheday <fheday @ gmail . com>
  5. # Contributor: pyropeter <abi1789 @ gmail . com>
  6. # Contributor: darkheart <fumbles @ ymail . com>
  7. # Contributor: zerathidune <zerathidune @ gmail . com>
  8.  
  9. pkgname=bluej
  10. pkgver=4.1.3
  11. pkgrel=1
  12. pkgdesc="An integrated Java environment specifically designed for introductory teaching"
  13. arch=('any')
  14. url="https://www.${pkgname}.org"
  15. license=('GPL2' 'Apache' 'BSD' 'CPL' 'LGPL2.1' 'MIT' 'custom')
  16. depends=('java-runtime' 'java-environment' 'java-openjfx')
  17. source=("https://www.${pkgname}.org/download/files/BlueJ-linux-${pkgver//.}.deb"
  18.         "${pkgname}"
  19.         "${pkgname}.desktop")
  20. noextract=("BlueJ-linux-${pkgver//.}.deb")
  21. sha256sums=('b7569ce7542ad1b41da29aa9898010fff791e8aa5b2862db9f33297a8f11c669'
  22.             'f67443827cd8cb90922e63c139154661cd8f390ef8886e143fd2359644e9bd63'
  23.             'd48f47e2a16cef483ded299e37016a5172829303fc6ac43cab486049e9f61711')
  24.  
  25. package() {
  26. cd "${srcdir}"
  27. ar p "BlueJ-linux-${pkgver//.}.deb" data.tar.xz | tar xJ
  28.  
  29. mkdir -p "${pkgdir}/opt/${pkgname}"
  30. mkdir -p "${pkgdir}/usr/share/doc/${pkgname}/examples"
  31.  
  32. cp -r "usr/share/${pkgname}" "${pkgdir}/opt"
  33. cp -r usr/share/doc/BlueJ/*/ "${pkgdir}/usr/share/doc/${pkgname}/examples"
  34.  
  35. install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  36. install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  37. install -Dm644 "usr/share/icons/hicolor/256x256/apps/${pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${pkgname}.png"
  38. install -Dm644 usr/share/doc/BlueJ/README.TXT "${pkgdir}/usr/share/doc/${pkgname}/README"
  39. install -Dm644 usr/share/doc/BlueJ/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  40. install -Dm644 usr/share/doc/BlueJ/THIRDPARTYLICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/THIRDPARTYLICENSE"
  41. }
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