Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=generic.git;a=commitdiff;h=f2ca2356b182b5fca00f6f38ab7cd97219f9f4e8

commit f2ca2356b182b5fca00f6f38ab7cd97219f9f4e8
Author: Priyank <[EMAIL PROTECTED]>
Date:   Fri Jul 18 11:11:32 2008 +0530

tea-18.1.1-1-i686
* New package
* This is QT4 version of Tea

diff --git a/source/xapps-extra/tea/FrugalBuild 
b/source/xapps-extra/tea/FrugalBuild
new file mode 100644
index 0000000..6545dea
--- /dev/null
+++ b/source/xapps-extra/tea/FrugalBuild
@@ -0,0 +1,35 @@
+# Compiling Time: 0.10 SBU
+# Maintainer: Priyank Gosalia <[EMAIL PROTECTED]>
+
+pkgname=tea
+pkgver=18.1.1
+pkgrel=1
+pkgdesc="TEA is a QT-based text editor for Linux and *BSD."
+_F_sourceforge_name="tea"
+_F_sourceforge_dirname="tea-editor"
+_F_sourceforge_ext=".tar.bz2"
+Finclude sourceforge
+url="http://tea-editor.sourceforge.net/";
+license="GPL"
+depends=('qt4' 'aspell' 'libzip')
+groups=('xapps-extra')
+archs=('i686' 'x86_64')
+source=(${source/tea-editor-/tea-} $pkgname-qmake.diff)
+_F_desktop_name="Tea Text Editor (Qt)"
+_F_desktop_icon=tea.png
+_F_desktop_categories="Utility;Editor;"
+_F_cd_path="$pkgname-$pkgver"
+sha1sums=('6e06071834563073a1eed02dc10ab7ae36860dc0' \
+          '4a60b6a02e73bd0088edee2fd677ce722667d48e')
+
+build()
+{
+       Fcd
+       Fpatchall
+       qmake -makefile -unix "PREFIX=/usr" src.pro || Fdie
+       Fmakeinstall
+       Frm /bin
+       Fdesktop2
+}
+
+# optimization OK
diff --git a/source/xapps-extra/tea/tea-qmake.diff 
b/source/xapps-extra/tea/tea-qmake.diff
new file mode 100644
index 0000000..63ba739
--- /dev/null
+++ b/source/xapps-extra/tea/tea-qmake.diff
@@ -0,0 +1,22 @@
+--- tea-18.0.0/src.pro 2008-07-04 19:51:40.000000000 +0530
++++ tea-18.0.0.new/src.pro     2008-07-11 13:16:52.000000000 +0530
+@@ -22,13 +22,13 @@
+ QT += network xml \
+       script svg
+
+-
+-;PREFIX = /usr/local
+-;TARGET = tea
+-;target.path = $$PREFIX/bin
+-
++DESTDIR = /var/tmp/fst/pkg/
++PREFIX = $$DESTDIR/usr
+ TARGET = bin/tea
+-target.path = /usr/local/bin
++target.path = $$PREFIX/bin
++
++;TARGET = bin/tea
++;target.path = /usr/local/bin
+
+ INSTALLS += target
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to