blob: 518ab9b109692543627bfc3a6ad0373258611d3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Eduard Wirch <wirch.eduard@gmail.com>
# Contributor: Martin Lukes <martin.meridius@gmail.com>
_appname=smartgit
pkgname=${_appname}_preview
pkgver=24.1_preview_6
pkgrel=1
pkgdesc="Graphical Git client. Preview version."
arch=("any")
url="https://www.syntevo.com/smartgit/preview/"
license=('custom')
depends=("java-environment>=17" "python3")
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=('271e5cffe6154ce311194fca443729209f89e247')
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"
}
|