blob: c09c7e413c082cd98f2cdb18c8dfe466a79b4a43 (
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
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Chris Severance aur.severach AatT spamgourmet.com
# Contributor: Aner Andros <code@anerandros.info>
set -u
pkgbase='git-it'
pkgname='git-it'
pkgver='5.2.2'
pkgrel='1'
pkgdesc='Desktop app that teaches you how to use Git and GitHub on the command line.'
arch=('x86_64')
#url='https://github.com/jlord/git-it-electron'
url='https://github.com/Git-it-App/git-it-electron'
license=('BSD')
depends=('gnuplot' 'libxtst' 'libxss' 'alsa-lib' 'nodejs' 'nss' 'gconf')
depends+=('gtk2' 'git')
#provides=('git-it')
options=('!strip')
_srcdir='Git-it-linux-x64'
_file="${_srcdir}-${pkgver}.zip"
source=(
"${_file}::${url}/releases/download/v${pkgver}/${_srcdir}.zip"
"${pkgname}.desktop"
"${pkgname}.png"
)
noextract=("${_file}")
md5sums=('9bc834a44f3ab3535f29fe4e9c3d71b5'
'cc6162296991cdb4463081962c0018f1'
'3fc4074dd6efa11246481d57dae86cf1')
sha256sums=('d207e6da47c1987fdbf1165f05d287f83197aa6eaca63d2c34bd7b9a60a92269'
'2ad08e42d2774e746c2730bcc90f089e2e97ad7c79875a52c3d341ad75affdfc'
'55ff797c3449f24f5e53186f3e08aacd98b832b7191b8893c2d7b26b52e2a375')
package() {
set -u
install -d "${pkgdir}/opt/"
bsdtar --no-same-owner -C "${pkgdir}/opt/" -xf "${_file}"
mv "${pkgdir}/opt"/{"${_srcdir}",'git-it'}
chmod 755 "${pkgdir}/opt/git-it/Git-it"
install -d "${pkgdir}/usr/bin"
ln -s '/opt/git-it/Git-it' "${pkgdir}/usr/bin/git-it"
install -Dpm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
install -Dpm644 "${pkgname}.png" -t "${pkgdir}/usr/share/pixmaps"
install -Dpm644 "${pkgdir}/opt/git-it/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
set +u
}
set +u
|