Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Eduard Wirch <[email protected]>
- # Contributor: Martin Lukes <[email protected]>
- _appname=smartgit
- pkgname=${_appname}_preview
- pkgver=19.1_rc_3
- pkgrel=1
- pkgdesc="Graphical Git client. Preview version."
- arch=("any")
- url="https://www.syntevo.com/smartgit/preview/"
- license=('custom')
- depends=("java-environment>=8" "python3" "bash" "desktop-file-utils")
- optdepends=("mercurial: hg repositories support"
- "git: git repositories support")
- makedepends=("tar")
- replaces=("smartgithg")
- conflicts=("smartgit")
- provides=("smartgit")
- # package version as it appears in the name of tar.gz archive file
- _pkgver=${pkgver//_/-}
- _pkgver=${_pkgver//./_}
- source=("https://www.syntevo.com/downloads/smartgit/${_appname}-${_pkgver}.deb")
- sha1sums=('6e0063365ef4ee150b43ebeeb2d7646d328c9d16')
- package() {
- cd "$srcdir"
- tar -xzf data.tar.gz -C "${pkgdir}"
- # Unbundle JRE
- rm -rf "${pkgdir}/usr/share/${_appname}/jre"
- # License
- install -Dm644 "$pkgdir/usr/share/doc/$_appname/license.html" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement