PKGBUILDs/extra/qgit/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
928 B
Bash

# $Id: PKGBUILD 39341 2009-05-15 09:13:52Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Dan McGee <dan@archlinux.org>
pkgname=qgit
pkgver=2.3
pkgrel=1
pkgdesc="A GIT GUI viewer built on Qt/C++"
url="http://digilander.libero.it/mcostalba/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('qt' 'git>=1.5')
options=(!makeflags !ccache) #makepkg3 options, ccache is a no-go
source=(http://downloads.sourceforge.net/sourceforge/qgit/$pkgname-$pkgver.tar.bz2
qgit.desktop qgit.png)
md5sums=('1f6cd60cc1b92973718b108d542e3270'
'ecb8b35e17163a7ec6893ffa71445c40'
'85138f44d577b03dfc738d3f27e04992')
build() {
cd ${srcdir}/${pkgname}
qmake qgit.pro
make || return 1
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
}