diff options
author | Mikel Pintado | 2017-10-11 21:52:33 +0200 |
---|---|---|
committer | Mikel Pintado | 2017-10-11 21:52:33 +0200 |
commit | 80cfdebe83c88e9f591382185fc047b2269eb15e (patch) | |
tree | c88b70aef038114139d0ad6725e7f0527c924191 /PKGBUILD | |
parent | 02e7bb7da88a948532b4ff98e0b493740e630ab6 (diff) | |
download | aur-80cfdebe83c88e9f591382185fc047b2269eb15e.tar.gz |
Fixes an error with the desktop file.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -3,7 +3,7 @@ pkgname=github-desktop pkgver=1.0.4_beta0 -pkgrel=2 +pkgrel=4 pkgdesc="GUI for managing Git and GitHub." arch=('x86_64') url="https://desktop.github.com" @@ -12,8 +12,14 @@ install=github-desktop.install depends=('gnome-keyring' 'git' 'electron' 'nodejs' 'libcurl-compat' 'libcurl-gnutls') optdepends=('hub: CLI interface for GitHub.') makedepends=('libcurl-openssl-1.0') -source=(https://github.com/gengjiawen/desktop/releases/download/v${pkgver//_/-}/desktop_${pkgver//_/-}_amd64.deb) -md5sums=('e5285a06a6ab201f36b49f877f87abbc') +source=( + https://github.com/gengjiawen/desktop/releases/download/v${pkgver//_/-}/desktop_${pkgver//_/-}_amd64.deb + desktop.desktop +) +md5sums=( +e5285a06a6ab201f36b49f877f87abbc +b94003a96fb27b8c6da6bf5f68469f9f +) prepare() { bsdtar -xJf data.tar.xz @@ -23,5 +29,6 @@ package() { cp --preserve=mode -r {opt,usr} "${pkgdir}" find "${pkgdir}" -type d -exec chmod 755 {} + + cp --preserve=mode ${srcdir}/desktop.desktop ${pkgdir}/usr/share/applications } |