[Frugalware-git] frugalware-current: qgit-2.0-1-i686

crazy crazy at frugalware.org
Wed Nov 7 17:59:53 CET 2007


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6784b4f764928c177fcfb5053d1c31fb2e8e324f

commit 6784b4f764928c177fcfb5053d1c31fb2e8e324f
Author: crazy <crazy at frugalware.org>
Date:   Wed Nov 7 17:58:36 2007 +0100

qgit-2.0-1-i686
* Version bump
* using qt4 now

diff --git a/source/xapps-extra/qgit/FrugalBuild b/source/xapps-extra/qgit/FrugalBuild
index 136b6c9..f0322fc 100644
--- a/source/xapps-extra/qgit/FrugalBuild
+++ b/source/xapps-extra/qgit/FrugalBuild
@@ -2,29 +2,30 @@
# Maintainer: crazy <crazy at frugalware.org>

pkgname=qgit
-pkgver=1.5.7
+pkgver=2.0
pkgrel=1
pkgdesc="QGit is a git GUI viewer built on Qt/C++."
-url="http://digilander.libero.it/mcostalba/"
-depends=('qt>=3.3.7' 'libstdc++')
+depends=('libqtgui')
rodepends=('git>=1.4.2')
options=('scriptlet')
groups=('xapps-extra')
archs=('i686' 'x86_64')
_F_sourceforge_ext=".tar.bz2"
Finclude sourceforge
-source=(${source[@]} $pkgname.{desktop,png})
-
+url="http://digilander.libero.it/mcostalba/"
+up2date="lynx -dump 'http://sourceforge.net/project/showfiles.php?group_id=139897'|grep -om1 'qgit-2\(.*\).tar.bz2'|Flasttarbz2"
+sha1sums=('e4b62ece886a49587fe11bf6ea6fb3dcec39cd60')

build()
{
-	Fbuild
-	Ffilerel ../$pkgname.desktop /usr/share/applications/$pkgname.desktop
-	## well
-	Ffilerel ../$pkgname.png /usr/share/$pkgname/$pkgname.png
+	Fcd $pkgname
+	Fmkdir usr/share/pixmaps
+	/usr/bin/qmake $pkgname.pro || Fdie
+	make || Fdie
+	Fexerel bin/$pkgname /usr/bin/$pkgname
+	cp -ra src/resources/$pkgname.png \
+		$Fdestdir/usr/share/pixmaps
+	Fdesktop "$pkgname" "/usr/share/pixmaps/$pkgname.png" "Qt;Network"
}

-sha1sums=('4ac4ea72b9377f8719c6195a3f07501ad3cfea3a' \
-          'deb194ecaf4d099a23c091d9f32ce80ea67204ca' \
-          '09f9373115c0db6bfdda3072ecd54ae588fa003d')
# optimization OK
diff --git a/source/xapps-extra/qgit/qgit.desktop b/source/xapps-extra/qgit/qgit.desktop
deleted file mode 100644
index 1ad0638..0000000
--- a/source/xapps-extra/qgit/qgit.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=QGit
-Comment=A graphical interface to git repositories
-Exec=qgit
-Icon=/usr/share/qgit/qgit.png
-Terminal=false
-Type=Application
-Categories=Application;Development;
-Encoding=UTF-8
diff --git a/source/xapps-extra/qgit/qgit.png b/source/xapps-extra/qgit/qgit.png
deleted file mode 100644
index 4b89c46..0000000
Binary files a/source/xapps-extra/qgit/qgit.png and /dev/null differ


More information about the Frugalware-git mailing list