desktop/qgit/PKGBUILD

30 lines
940 B
Bash
Raw Normal View History

2010-10-11 00:12:49 +08:00
pkgname=qgit
2016-07-27 01:19:32 +08:00
pkgver=2.6
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
2016-07-27 01:19:32 +08:00
source=("http://libre.tibirna.org/attachments/download/12/${pkgname}-${pkgver}.tar.gz"
'qgit.desktop' 'qgit.svg')
2010-10-11 00:12:49 +08:00
2016-07-27 01:19:32 +08:00
sha1sums=('9b28bfe2f6537bc73c251b950b7467b4e8fe32ed'
'd68018b9ca110da0fb01da173fe8060a8304ad29'
'c78498e2fa48fdcebda6263af4819c391c1a5442')
2010-10-11 00:12:49 +08:00
build() {
2016-07-27 01:19:32 +08:00
cd "${srcdir}/redivivus-"*
qmake-qt5 qgit.pro
2010-10-11 00:12:49 +08:00
make || return 1
}
package() {
2016-07-27 01:19:32 +08:00
cd "${srcdir}/redivivus-"*
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
}