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

commit 62437ba2a84e90543dc8f7ce540adfff97d85129
Author: kikadf <kikadf...@gmail.com>
Date:   Sat Mar 19 20:29:40 2011 +0100

jdictionary-1.8-4-i686

*Change maintainer
*Change depends: j2re to openjre
*Remove *.sh and *.desktop files in source
*Change build

diff --git a/source/xapps-extra/jdictionary/FrugalBuild 
b/source/xapps-extra/jdictionary/FrugalBuild
index 344fe5b..eebb213 100644
--- a/source/xapps-extra/jdictionary/FrugalBuild
+++ b/source/xapps-extra/jdictionary/FrugalBuild
@@ -1,45 +1,34 @@
-# Compiling Time: 0.01 SBU
-# Maintainer: Janos Kovacs <ja...@frugalware.org>
+# Compiling Time: 0.00 SBU
+# Maintainer: kikadf <kikadf...@gmail.com>

pkgname=jdictionary
pkgver=1.8
-pkgrel=3
+pkgrel=4
pkgdesc="jDictionary is a plugin based dictionary software."
+_F_desktop_name="jDictionary"
+_F_desktop_icon="$pkgname.png"
+_F_desktop_categories="Utility;"
_F_sourceforge_ext=".zip"
+_F_sourceforge_pkgver=${pkgver//./_}
+depends=('openjre')
Finclude sourceforge
-url="http://jdictionary.sourceforge.net";
-license="LGPL"
-rodepends=('j2re')
-makedepends=('gcc-gcj')
archs=('i686' 'x86_64')
groups=('xapps-extra')
-up2date="lynx -dump http://jdictionary.sourceforge.net/download.html|grep 
Platform | sed -n 's/.*version \(.*\) Platform.*/\1/; 2 p'"
-source=(${source/$pkgver/${pkgver/./_}} \
-       $pkgname.sh $pkgname.png $pkgname.desktop )
+up2date="$up2date | tr '_' '.'"
+source=(${source[@]} \
+        $pkgname.png)
+sha1sums=('6635390be40275d74b4f677cac974ac6ea8906d9' \
+         '15a8137ed7a54f3b3a788ef9d5b253090f558c75')

build()
{
Fcd $pkgname
-       mkdir compiled
-       fastjar xf jdictionary.jar || return 1
-       cp -r resources compiled
-       cd src-${pkgver/./_}
-       echo gcj -C --encoding=iso-8859-2 -classpath . $(find . -name \*.java) 
-d ../compiled
-       gcj -C --encoding=iso-8859-2 -classpath . $(find . -name \*.java) -d 
../compiled || return 1
-       cd ..
-       echo "Main-Class: info.jdictionary.JDictionary" >MANIFEST.MF
-       fastjar cmf MANIFEST.MF jdictionary.jar -C compiled .
Ffilerel /usr/share/$pkgname/$pkgname.jar
Ffilerel /usr/share/$pkgname/$pkgname.ico
Ffilerel /usr/share/$pkgname/license.txt
-       Fexe $pkgname.sh /usr/bin/$pkgname
-       Ffile /usr/share/pixmaps/$pkgname.png
-       Ffile /usr/share/applications/$pkgname.desktop
+       Ficon $pkgname.png
+       Fwrapper "exec java -jar /usr/share/jdictionary/jdictionary.jar" 
$pkgname
+       Fdesktop2
}


-
-sha1sums=('6635390be40275d74b4f677cac974ac6ea8906d9' \
-         '168966844f9dd68d5efe2478c6d10f3a070c9803' \
-         '15a8137ed7a54f3b3a788ef9d5b253090f558c75' \
-         '161a7dd5fc32993f5e78836e12b7f684bf17b693')
diff --git a/source/xapps-extra/jdictionary/jdictionary.desktop 
b/source/xapps-extra/jdictionary/jdictionary.desktop
deleted file mode 100644
index da1d994..0000000
--- a/source/xapps-extra/jdictionary/jdictionary.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Type=Application
-Name=JDictionary
-Terminal=false
-Comment=Dictionary
-Comment[hu]=Szótárprogram
-Exec=jdictionary
-Icon=/usr/share/pixmaps/jdictionary.png
-Categories=KDE;GNOME;Application;Utility;
diff --git a/source/xapps-extra/jdictionary/jdictionary.sh 
b/source/xapps-extra/jdictionary/jdictionary.sh
deleted file mode 100644
index a95d5b1..0000000
--- a/source/xapps-extra/jdictionary/jdictionary.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec java -jar /usr/share/jdictionary/jdictionary.jar
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to