summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIan MacKay2018-08-23 23:49:23 -0700
committerIan MacKay2018-08-23 23:49:23 -0700
commit8b087078b33b15f68d6cee2a1ee41103f4004c98 (patch)
tree86799015d65db13d6a62813c69f255578ac3b14f /PKGBUILD
parente7f2fc99839fcbc04582f5413f1c6f92ea22ae75 (diff)
downloadaur-8b087078b33b15f68d6cee2a1ee41103f4004c98.tar.gz
Updated and removed unnecessary dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 78c05b5ab43f..6c8b6e113138 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,16 +4,18 @@
_pkgname='github-desktop'
pkgname="${_pkgname}-git"
-pkgver=1.3.1
+pkgver=1.3.4.r1.g513ffaa90
gitname="release-${pkgver//_/-}"
pkgrel=1
pkgdesc="GUI for managing Git and GitHub."
arch=('x86_64')
url="https://desktop.github.com"
license=('MIT')
-depends=('gnome-keyring' 'git' 'electron' 'nodejs' 'libcurl-compat' 'libcurl-gnutls')
+depends=('gnome-keyring' 'git' 'libcurl-gnutls')
optdepends=('hub: CLI interface for GitHub.')
-makedepends=('libcurl-openssl-1.0' 'xorg-server-xvfb' 'yarn' 'python2' 'nvm')
+makedepends=('xorg-server-xvfb' 'nodejs' 'nvm' 'yarn' 'python2')
+provides=(${_pkgname})
+conflicts=(${_pkgname})
DLAGENTS=("http::/usr/bin/git clone --branch ${gitname} --single-branch %u")
source=(
git+https://github.com/desktop/desktop.git
@@ -42,9 +44,9 @@ build() {
package() {
install -d "${pkgdir}/opt/${_pkgname}"
cp -r --preserve=mode desktop/dist/desktop-linux-x64/* "${pkgdir}/opt/${_pkgname}/"
- printf '#!/bin/sh\n\nLD_PRELOAD=libcurl.so.3 /opt/github-desktop/desktop "$@"\n' | install -Dm755 /dev/stdin "${pkgdir}/usr/bin/github-desktop"
install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
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\n/opt/${_pkgname}/desktop \"$@\"\n" | install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${_pkgname}"
}