summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan MacKay2018-08-23 23:49:23 -0700
committerIan MacKay2018-08-23 23:49:23 -0700
commit8b087078b33b15f68d6cee2a1ee41103f4004c98 (patch)
tree86799015d65db13d6a62813c69f255578ac3b14f
parente7f2fc99839fcbc04582f5413f1c6f92ea22ae75 (diff)
downloadaur-8b087078b33b15f68d6cee2a1ee41103f4004c98.tar.gz
Updated and removed unnecessary dependencies
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD10
2 files changed, 13 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6ab851269d3..47b6cb4dd01 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,25 @@
pkgbase = github-desktop-git
pkgdesc = GUI for managing Git and GitHub.
- pkgver = 1.3.1
+ pkgver = 1.3.4.r1.g513ffaa90
pkgrel = 1
url = https://desktop.github.com
arch = x86_64
license = MIT
- makedepends = libcurl-openssl-1.0
makedepends = xorg-server-xvfb
+ makedepends = nodejs
+ makedepends = nvm
makedepends = yarn
makedepends = python2
- makedepends = nvm
depends = gnome-keyring
depends = git
- depends = electron
- depends = nodejs
- depends = libcurl-compat
depends = libcurl-gnutls
optdepends = hub: CLI interface for GitHub.
- source = git+https://github.com/desktop/desktop.git#tag=release-1.3.1
+ provides = github-desktop
+ conflicts = github-desktop
+ source = git+https://github.com/desktop/desktop.git
source = github-desktop.desktop
sha256sums = SKIP
sha256sums = be057e4a392e64760f7a40203ac886b7cf5551de254ad55c706376dca8aa4341
pkgname = github-desktop-git
+
diff --git a/PKGBUILD b/PKGBUILD
index 78c05b5ab43..6c8b6e11313 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}"
}