summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Mackay2019-01-03 18:10:04 -0800
committerIan Mackay2019-01-03 18:10:04 -0800
commit452c55239637320105bdf0b811b8874534393d9e (patch)
tree68a235adf6f255a90a83c55b340ea644fe2bf4e6
parentf1903f52cb921bbd4d7b2e22955da42ea1be805d (diff)
downloadaur-452c55239637320105bdf0b811b8874534393d9e.tar.gz
Fixes for new packaging + MimeTypes
-rw-r--r--PKGBUILD8
-rw-r--r--github-desktop.desktop1
2 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6ab6e9b0751f..f33d12d12cf4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,12 @@ _pkgname='github-desktop'
pkgname="${_pkgname}-git"
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.')
makedepends=('xorg-server-xvfb' 'nodejs-lts-carbon' 'yarn' 'python2')
provides=(${_pkgname})
@@ -23,7 +23,7 @@ source=(
)
sha256sums=(
'SKIP'
- be057e4a392e64760f7a40203ac886b7cf5551de254ad55c706376dca8aa4341
+ 2758e15659f5770ae2ac948250372135029e7ac2d4b6bf431a112dfdbcc681d1
)
pkgver() {
cd desktop
@@ -43,5 +43,5 @@ package() {
install -Dm644 "desktop/app/static/logos/1024x1024.png" "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/${_pkgname}.png"
install -Dm644 "desktop/app/static/logos/512x512.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_pkgname}.png"
install -Dm644 "desktop/app/static/logos/256x256.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${_pkgname}.png"
- 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 85b7784bad73..c4f5481be92d 100644
--- a/github-desktop.desktop
+++ b/github-desktop.desktop
@@ -8,3 +8,4 @@ Terminal=false
Type=Application
Icon=github-desktop
Categories=Development;
+MimeType=x-scheme-handler/x-github-client;x-scheme-handler/x-github-desktop-auth;