Advertisement
Guest User

smartgit_preview-19.1_rc_3-1

a guest
Jul 24th, 2019
516
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.09 KB | None | 0 0
  1.  
  2. # Maintainer: Eduard Wirch <wirch.eduard@gmail.com>
  3. # Contributor: Martin Lukes <martin.meridius@gmail.com>
  4.  
  5. _appname=smartgit
  6. pkgname=${_appname}_preview
  7. pkgver=19.1_rc_3
  8. pkgrel=1
  9. pkgdesc="Graphical Git client. Preview version."
  10. arch=("any")
  11. url="https://www.syntevo.com/smartgit/preview/"
  12. license=('custom')
  13. depends=("java-environment>=8" "python3" "bash" "desktop-file-utils")
  14. optdepends=("mercurial: hg repositories support"
  15.             "git: git repositories support")
  16. makedepends=("tar")
  17. replaces=("smartgithg")
  18. conflicts=("smartgit")
  19. provides=("smartgit")
  20.  
  21. # package version as it appears in the name of tar.gz archive file
  22. _pkgver=${pkgver//_/-}
  23. _pkgver=${_pkgver//./_}
  24.  
  25. source=("https://www.syntevo.com/downloads/smartgit/${_appname}-${_pkgver}.deb")
  26. sha1sums=('6e0063365ef4ee150b43ebeeb2d7646d328c9d16')
  27.  
  28. package() {
  29.     cd "$srcdir"
  30.  
  31.     tar -xzf data.tar.gz -C "${pkgdir}"
  32.  
  33.     # Unbundle JRE
  34.     rm -rf "${pkgdir}/usr/share/${_appname}/jre"
  35.  
  36.     # License
  37.     install -Dm644 "$pkgdir/usr/share/doc/$_appname/license.html" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement