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

commit 148d9226fae8fe613150e7ad5338835d20ae6821
Author: crazy <[EMAIL PROTECTED]>
Date:   Wed Nov 7 21:25:38 2007 +0100

texmaker-1.6-3-i686
* relbump
* fixed qt4 depends()
* and while at it added missing Fdie
* and fixed desktop and icon location which
* got installed in /usr/share/texmaker/ O_O

diff --git a/source/xapps-extra/texmaker/FrugalBuild 
b/source/xapps-extra/texmaker/FrugalBuild
index f1a59cf..e1bcaa6 100644
--- a/source/xapps-extra/texmaker/FrugalBuild
+++ b/source/xapps-extra/texmaker/FrugalBuild
@@ -3,10 +3,10 @@

pkgname=texmaker
pkgver=1.6
-pkgrel=2
+pkgrel=3
pkgdesc="Texmaker is a free LaTeX editor."
url="http://www.xm1math.net/texmaker/";
-depends=('qt4>=4.3.0')
+depends=('libqtgui')
rodepends=('xghostscript')
groups=('xapps-extra')
archs=('i686' 'x86_64')
@@ -16,10 +16,14 @@ sha1sums=('8da3a6370214f97b568126439408a7774b017c1d')

build() {
Fcd
-       qmake -unix PREFIX=$Fprefix texmaker.pro
+       Fsed "Icon=.*" "Icon=/usr/share/pixmaps/$pkgname.png" 
utilities/*desktop*
+       /usr/bin/qmake -unix PREFIX=$Fprefix texmaker.pro || Fdie
Fsed '-Os' '-O2' Makefile
Fmake
Fmakeinstall INSTALL_ROOT=$Fdestdir
+       Fmkdir usr/share/{applications,pixmaps}
+       Fmv usr/share/texmaker/texmaker.desktop usr/share/applications
+       Fmv usr/share/texmaker/texmaker128x128.png 
usr/share/pixmaps/$pkgname.png
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to