summaryrefslogtreecommitdiff
path: root/community/qgit/PKGBUILD
blob: 461f220d0e4ca786202ef9a271c1de2361dd1ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 97768 2013-09-29 11:31:51Z schuay $
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Dan McGee <dan@archlinux.org>

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=('i686' 'x86_64')
license=('GPL')
depends=('qt4' 'git')
source=("http://libre.tibirna.org/attachments/download/9/${pkgname}-${pkgver}.tar.gz"
        'qgit.desktop' 'qgit.png')

build() {
  cd ${srcdir}/redivivus
  qmake-qt4 qgit.pro
  make
}

package() {
  cd ${srcdir}/redivivus
  install -Dm755 bin/qgit ${pkgdir}/usr/bin/qgit
  install -Dm644 ${srcdir}/qgit.desktop ${pkgdir}/usr/share/applications/qgit.desktop
  install -Dm644 ${srcdir}/qgit.png ${pkgdir}/usr/share/pixmaps/qgit.png
}

md5sums=('0e70fc4468b060ab042933497f6a6f3c'
         'ecb8b35e17163a7ec6893ffa71445c40'
         '85138f44d577b03dfc738d3f27e04992')