Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=wipv.git;a=commitdiff;h=27b76a6f8ac20fe6914ea0819b3a8bd8ab05f599

commit 27b76a6f8ac20fe6914ea0819b3a8bd8ab05f599
Author: gholafox <ghola...@free.fr>
Date:   Mon Jul 5 21:23:14 2010 +0200

tea-28.0.0-1-i686

* Fix source
* Version bump
* Fix depends
* Add patch to fix the installation (this patch will be proposed to the author 
of the software)
*

diff --git a/source/xapps-extra/tea/FrugalBuild 
b/source/xapps-extra/tea/FrugalBuild
index 1e315ef..ea270ff 100644
--- a/source/xapps-extra/tea/FrugalBuild
+++ b/source/xapps-extra/tea/FrugalBuild
@@ -1,32 +1,35 @@
-# Compiling Time: 0.15 SBU
+# Compiling Time: 0.05 SBU
# Maintainer: Priyank Gosalia <priyan...@gmail.com>

pkgname=tea
-pkgver=27.1.0
+pkgver=28.0.0
pkgrel=1
-pkgdesc="TEA is a QT-based text editor for Linux and *BSD."
+pkgdesc="TEA is a text editor that provides a wide range of text-processing 
functions \
+       and the syntax highlighting. Qt branch."
_F_sourceforge_dirname="tea-editor"
_F_sourceforge_ext=".tar.bz2"
Finclude sourceforge
url="http://tea-editor.sourceforge.net/";
license="GPL"
-depends=('qt4' 'aspell' 'libzip')
+depends=('libqtgui' 'libqtscript' 'libqtxml' 'aspell' 'libzip')
groups=('xapps-extra')
archs=('i686' 'x86_64')
-source=(${source/tea-editor-/tea-})
+source=(${sour...@]} installationDir.patch)
_F_desktop_name="Tea Text Editor (Qt)"
-_F_desktop_icon=tea.png
-_F_desktop_categories="Utility;Editor;"
-_F_cd_path="$pkgname-$pkgver"
-sha1sums=('5d526a031caef99a1dbb9db7e64da751dba411d6')
+_F_desktop_icon=${pkgname}_icon_v2.png
+_F_desktop_categories="Utility;TextEditor;"
+sha1sums=('395caccde8035577d85833d023ae24cb4ed5b4d2' \
+          'a775aca617484dd43a75226d1ff3781032129f25')

build()
{
Fcd
Fpatchall
-       qmake -makefile -unix "PREFIX=/usr" src.pro || Fdie
-       Fmakeinstall
-       Frm /bin
+       qmake || Fdie
+       Fmake
+       make INSTALL_ROOT=$Fdestdir install || Fdie
+       Ficonrel icons/${pkgname}_icon_v2.png
+       Fdocrel manuals/*
Fdesktop2
}

diff --git a/source/xapps-extra/tea/installationDir.patch 
b/source/xapps-extra/tea/installationDir.patch
new file mode 100644
index 0000000..9c0b63a
--- /dev/null
+++ b/source/xapps-extra/tea/installationDir.patch
@@ -0,0 +1,15 @@
+--- src.pro.origin     2010-06-14 20:04:41.000000000 +0200
++++ src.pro    2010-07-05 19:46:15.000000000 +0200
+@@ -82,10 +82,10 @@
+ #target.path = /usr/local/bin
+
+ isEmpty( PREFIX ) {
+-  PREFIX = /usr/local/bin
++  PREFIX = /usr
+    }
+
+-target.path = $$PREFIX
++target.path = $$PREFIX/bin
+
+ INSTALLS += target
+ RESOURCES += rlvn.qrc
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to