Merge pull request #25 from toastwaffle/master

Use wrapper script to LD_PRELOAD libcurl-compat
This commit is contained in:
Tim Kleinschmidt 2017-03-11 17:35:46 +01:00 committed by GitHub
commit 383c8b5281
4 changed files with 16 additions and 8 deletions

View file

@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
# Thu Mar 9 16:58:31 UTC 2017
# Sat Mar 11 11:55:53 UTC 2017
pkgbase = gitkraken
pkgdesc = The intuitive, fast, and beautiful cross-platform Git client.
pkgver = 2.2.0
pkgrel = 1
pkgrel = 2
url = http://www.gitkraken.com/
arch = x86_64
license = custom
@ -20,10 +20,12 @@ pkgbase = gitkraken
source = GitKraken.desktop
source = gitkraken.png
source = eula.html
source = gitkraken.sh
md5sums = 60ef26ca66f7d73ae29e53b557b69350
md5sums = ecef298bed1178d60cf0dd75c4700205
md5sums = 55f11789f5a9ee9fc4989d0f06eee260
md5sums = 04987b933d551d15c0813111d715bb9e
md5sums = e9ba6663e5f1f92cae31beb0074e8c6c
md5sums = e3063947b063aaccf4dc17ed47437ea8
pkgname = gitkraken

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Name=GitKraken
Comment=Unleash your repo
Exec=bash -c "LD_PRELOAD=/usr/lib/libcurl.so.3 gitkraken"
Exec="gitkraken"
Icon=gitkraken
Terminal=false
Type=Application

View file

@ -1,9 +1,10 @@
# Maintainer: Tim Kleinschmidt <tim.kleinschmidt@gmail.com>
# Contributor: Marcin Wieczorek <marcin@marcin.co>
# Contributor: Jean-Pier Brochu <jeanpier.brochu@gmail.com>
# Contributor: Samuel Littley <samuel@samuellittley.me>
pkgname=gitkraken
pkgrel=1
pkgrel=2
pkgver=2.2.0
pkgdesc="The intuitive, fast, and beautiful cross-platform Git client."
url="http://www.gitkraken.com/"
@ -19,11 +20,13 @@ source=(
"GitKraken.desktop"
"gitkraken.png"
"eula.html"
"gitkraken.sh"
)
md5sums=('60ef26ca66f7d73ae29e53b557b69350'
'ecef298bed1178d60cf0dd75c4700205'
'55f11789f5a9ee9fc4989d0f06eee260'
'04987b933d551d15c0813111d715bb9e'
'e9ba6663e5f1f92cae31beb0074e8c6c')
'e9ba6663e5f1f92cae31beb0074e8c6c'
'e3063947b063aaccf4dc17ed47437ea8')
package() {
install -d "$pkgdir"/opt
@ -33,8 +36,8 @@ package() {
chmod 755 "$pkgdir"/opt/gitkraken/gitkraken
install -d "$pkgdir"/usr/bin
ln -s ../../opt/gitkraken/gitkraken "$pkgdir"/usr/bin/gitkraken
install -D -m755 "./gitkraken.sh" "${pkgdir}/usr/bin/gitkraken"
install -D -m644 "./eula.html" "${pkgdir}/usr/share/licenses/${pkgname}/eula.html"
install -D -m644 "./GitKraken.desktop" "${pkgdir}/usr/share/applications/GitKraken.desktop"
install -D -m644 "./gitkraken.png" "${pkgdir}/usr/share/pixmaps/gitkraken.png"

3
gitkraken.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
LD_PRELOAD=/usr/lib/libcurl.so.3 /opt/gitkraken/gitkraken