summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3819e0849080f519d8eabadaa739250171e34e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Mikel Pintado <mikelaitornube2010@gmail.com>
# Contributor: Jiawen Geng

pkgname=github-desktop
pkgver=0.7.0
pkgrel=4
pkgdesc="GUI for managing Git and GitHub."
arch=('x86_64')
url="https://desktop.github.com"
license=('MIT')
install=github-desktop.install
depends=('git' 'electron' 'nodejs')
    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=('452cd025172b9431e77a1e321f67cc7e')

package()   {
    ar x desktop_${pkgver}_amd64.deb
    tar xvf data.tar.xz
    install -d "${pkgdir}/../../src/usr/share/" /usr/
    install -d "${pkgdir}/../../src/opt/GithubDesktop" /opt/
}