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

pkgname=github-desktop
pkgver=0.7.0
pkgrel=3
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.' )
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
    cp -r "${pkgdir}/../../src/usr/share/" /usr/
    cp -r "${pkgdir}/../../src/opt/GithubDesktop" /opt/
}