[arch-commits] Commit in qgit/trunk (PKGBUILD)

Tobias Kieslich tobias at archlinux.org
Wed May 21 16:31:01 EDT 2008


    Date: Wednesday, May 21, 2008 @ 16:31:01
  Author: tobias
Revision: 1831

upgpkg: qgit 2.1-1

Modified:
  qgit/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++----------------
 1 file changed, 11 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-05-21 17:50:56 UTC (rev 1830)
+++ PKGBUILD	2008-05-21 20:31:01 UTC (rev 1831)
@@ -1,32 +1,27 @@
 # $Id$
 # Maintainer: Dan McGee <dan at archlinux.org>
 pkgname=qgit
-pkgver=1.5.7
-pkgrel=2
+pkgver=2.1
+pkgrel=1
 pkgdesc="A GIT GUI viewer built on Qt/C++"
 url="http://digilander.libero.it/mcostalba/"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('qt3' 'git')
+depends=('qt' 'git>=1.5')
 makedepends=()
 backup=()
-source=(http://downloads.sourceforge.net/sourceforge/qgit/$pkgname-$pkgver.tar.bz2 qgit.desktop qgit.png)
+source=(http://downloads.sourceforge.net/sourceforge/qgit/$pkgname-$pkgver.tar.bz2
+        qgit.desktop qgit.png)
 options=(!makeflags !ccache) #makepkg3 options, ccache is a no-go
-md5sums=('2aa52a51e01ec0cde8522281d9ace2aa'
-         'ecb8b35e17163a7ec6893ffa71445c40'
+md5sums=('f22787c814fbe832d6da7c6a2436c3c0' 'ecb8b35e17163a7ec6893ffa71445c40' \
          '85138f44d577b03dfc738d3f27e04992')
 
 build() {
-  . /etc/profile.d/qt3.sh
-  cd $startdir/src/$pkgname-$pkgver
-  # added --with-qtdir so it is compilable with qt4 installed as well
-  # this package ONLY supports building with qt3 at the moment
-  ./configure --prefix=/usr --with-qtdir=/opt/qt
+  cd ${startdir}/src/${pkgname}
+  qmake qgit.pro
   make || return 1
-  make DESTDIR=$startdir/pkg install
 
-  #install freedesktop files
-  mkdir -p $startdir/pkg/usr/share/{applications,pixmaps}
-  install -m644 $startdir/src/qgit.desktop $startdir/pkg/usr/share/applications/
-  install -m644 $startdir/src/qgit.png $startdir/pkg/usr/share/pixmaps/
+  install -Dm755 bin/qgit ${startdir}/pkg/usr/bin/qgit
+  install -Dm644 ../qgit.desktop ${startdir}/pkg/usr/share/applications/qgit.desktop
+  install -Dm644 ../qgit.png ${startdir}/pkg/usr/share/pixmaps/qgit.png
 }





More information about the arch-commits mailing list