summaryrefslogtreecommitdiff
path: root/community/qgit/PKGBUILD
blob: f06f20937812350caadb654d2a1a93560206ec06 (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
# $Id: PKGBUILD 78123 2010-04-19 12:09:19Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Dan McGee <dan@archlinux.org>

pkgname=qgit
pkgver=2.3
pkgrel=2
pkgdesc="A GIT GUI viewer built on Qt/C++"
url="http://digilander.libero.it/mcostalba/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('qt' 'git')
options=(!makeflags !ccache) #makepkg3 options, ccache is a no-go
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
        'qgit.desktop' 'qgit.png')
md5sums=('1f6cd60cc1b92973718b108d542e3270'
         'ecb8b35e17163a7ec6893ffa71445c40'
         '85138f44d577b03dfc738d3f27e04992')

build() {
  cd ${srcdir}/${pkgname}
  qmake qgit.pro
  make || return 1
}

package() {
  cd ${srcdir}/${pkgname}
  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
}