-
-
Save friday/e29a91956619e3520c34caa0ace4e4a7 to your computer and use it in GitHub Desktop.
GitHub Desktop (binary) v1.5.0 for Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=GitHub Desktop | |
Comment=Extend your GitHub workflow beyond your browser with GitHub Desktop | |
Comment[es]=Trabaja con GitHub desde tu escritorio. | |
Comment[eu]=GitHub-ekin lan egin zure ordenagailutik. | |
Exec=/usr/bin/github-desktop %U | |
Terminal=false | |
Type=Application | |
Icon=desktop | |
Categories=Development; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Ian MacKay <immackay zero at gmail dot com> | |
# Contributor: Albin Larsson <albin dot larsson at gmail dot com> | |
_pkgname='github-desktop' | |
pkgname="${_pkgname}-bin" | |
pkgver=1.5.0_linux5 | |
gitver="${pkgver//_/-}" | |
pkgrel=1 | |
pkgdesc="GUI for managing Git and GitHub." | |
arch=('x86_64') | |
url="https://desktop.github.com" | |
license=('MIT') | |
depends=('gnome-keyring' 'git' 'libcurl-openssl-1.0') | |
optdepends=('hub: CLI interface for GitHub.') | |
provides=(${_pkgname}) | |
conflicts=(${_pkgname}) | |
source=( | |
https://github.com/shiftkey/desktop/releases/download/release-${gitver}/GitHubDesktop-linux-${gitver}.deb | |
${_pkgname}.desktop | |
) | |
sha256sums=( | |
5a84fe7b14c70a220bd3e54bb6902b22af139ae0a6512218c9bb2751fe4f2b3a | |
8545ffdcd8685a2d642a733f9dc407b9b269e2c8fd54f30e1eb336c2aff89318 | |
) | |
package() { | |
tar xf data.tar.xz -C "${pkgdir}" | |
mv "${pkgdir}/opt/GitHub Desktop" "${pkgdir}/opt/${_pkgname}" | |
install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" | |
printf "#!/bin/sh\n\nLD_PRELOAD=/usr/lib/libcurl-openssl-1.0.so /opt/${_pkgname}/github-desktop \"\$@\"\n" | install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${_pkgname}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment