desktop/qgit/PKGBUILD

30 lines
953 B
Bash
Raw Normal View History

2010-10-11 00:12:49 +08:00
pkgname=qgit
2017-03-12 19:19:47 +08:00
pkgver=2.7
2014-04-19 06:51:45 +08:00
pkgrel=1
2010-10-11 00:12:49 +08:00
pkgdesc="A GIT GUI viewer built on Qt/C++"
2014-04-19 06:51:45 +08:00
url='http://libre.tibirna.org/projects/qgit/wiki/QGit'
arch=('x86_64')
2010-10-11 00:12:49 +08:00
license=('GPL')
2016-07-27 01:19:32 +08:00
depends=('qt5-base' 'git')
categories=('programming')
2010-10-11 00:12:49 +08:00
options=(!makeflags !ccache) #makepkg3 options, ccache is a no-go
2017-03-12 19:19:47 +08:00
source=("${pkgname}::git://repo.or.cz/qgit4/redivivus.git#tag=${pkgname}-${pkgver}"
2016-07-27 01:19:32 +08:00
'qgit.desktop' 'qgit.svg')
2010-10-11 00:12:49 +08:00
2017-03-12 19:19:47 +08:00
sha256sums=('SKIP'
'9be6531c6199e80e95ec918f09e734c3d9a400836462f28588aa08e5374791c5'
'9001a5dd9ce4de588b64eccb65d6da5fbda6927f152781bc11b5ed77139db4d5')
2010-10-11 00:12:49 +08:00
build() {
2017-03-12 19:19:47 +08:00
cd "${srcdir}/${pkgname}"
2016-07-27 01:19:32 +08:00
qmake-qt5 qgit.pro
2010-10-11 00:12:49 +08:00
make || return 1
}
package() {
2017-03-12 19:19:47 +08:00
cd "${srcdir}/${pkgname}"
2010-10-11 00:12:49 +08:00
install -Dm755 bin/qgit ${pkgdir}/usr/bin/qgit || return 1
install -Dm644 ${srcdir}/qgit.desktop ${pkgdir}/usr/share/applications/qgit.desktop || return 1
2016-07-27 01:19:32 +08:00
install -Dm644 ${srcdir}/qgit.svg ${pkgdir}/usr/share/pixmaps/qgit.svg || return 1
2010-10-11 00:12:49 +08:00
}