diff options
author | Ian Mackay | 2019-01-03 18:09:58 -0800 |
---|---|---|
committer | Ian Mackay | 2019-01-03 18:09:58 -0800 |
commit | 3603b61620c8daa187b2ddfb138fef4c7b290c53 (patch) | |
tree | 2f91c2947a24e8a1ca81552483b0ae3480073df2 | |
parent | 0c4eb97e09c16e1ea1f2df8033aa4550c76f8ce1 (diff) | |
download | aur-3603b61620c8daa187b2ddfb138fef4c7b290c53.tar.gz |
Fixes for new packaging + MimeTypes
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | github-desktop.desktop | 3 |
2 files changed, 7 insertions, 6 deletions
@@ -4,12 +4,12 @@ _pkgname='github-desktop' pkgname="${_pkgname}-bin" pkgver=1.5.1_linux1 gitname="release-${pkgver//_/-}" -pkgrel=1 +pkgrel=2 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') +depends=('gnome-keyring' 'git' 'curl' 'libxss' 'gconf') optdepends=('hub: CLI interface for GitHub.') provides=(${_pkgname}) conflicts=(${_pkgname}) @@ -18,13 +18,13 @@ source=( ${_pkgname}.desktop ) sha256sums=( - 'SKIP' - 8545ffdcd8685a2d642a733f9dc407b9b269e2c8fd54f30e1eb336c2aff89318 + 57f13e4d37c8011ab7104465834fa1706f55d4c29a6fe012a8ae215f1dcf452b + 2758e15659f5770ae2ac948250372135029e7ac2d4b6bf431a112dfdbcc681d1 ) package() { tar xf data.tar.xz -C "${pkgdir}" mv "${pkgdir}/opt/GitHub Desktop" "${pkgdir}/opt/${_pkgname}" rm "${pkgdir}/usr/share/applications/github-desktop.desktop" 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}/desktop \"\$@\"\n" | install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${_pkgname}" + printf "#!/bin/sh\n\n/opt/${_pkgname}/github-desktop \"\$@\"\n" | install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${_pkgname}" } diff --git a/github-desktop.desktop b/github-desktop.desktop index b510f9b8da49..c4f5481be92d 100644 --- a/github-desktop.desktop +++ b/github-desktop.desktop @@ -6,5 +6,6 @@ Comment[eu]=GitHub-ekin lan egin zure ordenagailutik. Exec=/usr/bin/github-desktop %U Terminal=false Type=Application -Icon=desktop +Icon=github-desktop Categories=Development; +MimeType=x-scheme-handler/x-github-client;x-scheme-handler/x-github-desktop-auth; |