desktop/qgit/PKGBUILD
2010-10-10 16:12:49 +00:00

38 lines
1.1 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
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')
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'
'a2563e1f23db6a68b19ed5cae7add3f9'
'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
}