diff options
Diffstat (limited to 'community/qgit/PKGBUILD')
-rw-r--r-- | community/qgit/PKGBUILD | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/community/qgit/PKGBUILD b/community/qgit/PKGBUILD index d4f02325f..73af75518 100644 --- a/community/qgit/PKGBUILD +++ b/community/qgit/PKGBUILD @@ -1,32 +1,36 @@ -# $Id: PKGBUILD 78123 2010-04-19 12:09:19Z andrea $ -# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# $Id: PKGBUILD 49264 2011-06-13 14:58:16Z 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.3 -pkgrel=2 +pkgrel=3 pkgdesc="A GIT GUI viewer built on Qt/C++" url="http://digilander.libero.it/mcostalba/" arch=('i686' 'x86_64' 'mips64el') 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') + 'qgit.desktop' 'qgit.png' + '0001-Cause-qgit-to-use-git-config-everywhere.patch') md5sums=('1f6cd60cc1b92973718b108d542e3270' 'ecb8b35e17163a7ec6893ffa71445c40' - '85138f44d577b03dfc738d3f27e04992') + '85138f44d577b03dfc738d3f27e04992' + '8b8eda62d6f4d04ed57f87d4dbda9fa9') build() { cd ${srcdir}/${pkgname} + # patch taken from http://sourceforge.net/tracker/?func=detail&aid=3299672&group_id=139897&atid=744829 + patch -Np1 < ${srcdir}/0001-Cause-qgit-to-use-git-config-everywhere.patch qmake qgit.pro - make || return 1 + make } 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 + 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 } |