# Maintainer: Tim Kleinschmidt # Contributor: Marcin Wieczorek pkgname=gitkraken pkgrel=1 pkgver=1.7.0 pkgdesc="The intuitive, fast, and beautiful cross-platform Git client." url="http://www.gitkraken.com/" provides=('gitkraken') arch=('x86_64') license=('custom') depends=('gtk2' 'nss' 'libnotify' 'libxtst' 'libgnome-keyring' 'gconf' 'alsa-lib') makedepends=() backup=() install='' source=( "https://release.gitkraken.com/linux/v${pkgver}.tar.gz" "GitKraken.desktop" "gitkraken.png" "eula.html" ) md5sums=('23dbf0e7ccf06d57f9beaeb297aa4c41' 'cf2a1746a0cafe11793af0801c78afeb' '04987b933d551d15c0813111d715bb9e' 'e9ba6663e5f1f92cae31beb0074e8c6c') package() { install -d "$pkgdir"/opt cp -R "$srcdir"/GitKraken "$pkgdir"/opt/gitkraken find "$pkgdir"/opt/gitkraken/ -type f -exec chmod 644 {} \; chmod 755 "$pkgdir"/opt/gitkraken/gitkraken install -d "$pkgdir"/usr/bin ln -s ../../opt/gitkraken/gitkraken "$pkgdir"/usr/bin/gitkraken install -D -m644 "./eula.html" "${pkgdir}/usr/share/licenses/${pkgname}/eula.html" install -D -m644 "./GitKraken.desktop" "${pkgdir}/usr/share/applications/GitKraken.desktop" install -D -m644 "./gitkraken.png" "${pkgdir}/usr/share/pixmaps/gitkraken.png" }