desktop/qgit/PKGBUILD
2014-04-18 22:51:45 +00:00

35 lines
1.0 KiB
Bash

# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=qgit
pkgver=2.5
pkgrel=1
pkgdesc="A GIT GUI viewer built on Qt/C++"
url='http://libre.tibirna.org/projects/qgit/wiki/QGit'
arch=('x86_64')
license=('GPL')
depends=('qt' 'git')
categories=('programming')
options=(!makeflags !ccache) #makepkg3 options, ccache is a no-go
source=("http://libre.tibirna.org/attachments/download/9/${pkgname}-${pkgver}.tar.gz"
'qgit.desktop' 'qgit.png')
md5sums=('0e70fc4468b060ab042933497f6a6f3c'
'a2563e1f23db6a68b19ed5cae7add3f9'
'85138f44d577b03dfc738d3f27e04992')
build() {
cd ${srcdir}/redivivus
qmake qgit.pro
make || return 1
}
package() {
cd ${srcdir}/redivivus
install -Dm755 bin/qgit ${pkgdir}/usr/bin/qgit || return 1
install -Dm644 ${srcdir}/qgit.desktop ${pkgdir}/usr/share/applications/qgit.desktop || return 1
install -Dm644 ${srcdir}/qgit.png ${pkgdir}/usr/share/pixmaps/qgit.png || return 1
}