pkgname=jdictionary pkgver=1.80 pkgrel=1 pkgdesc="jDictionary is a powerful multi-platform dictionary application" depends=('j2re') source=(http://osdn.dl.sourceforge.net/sourceforge/$pkgname/jDictionary-$pkgver-0.noarch.rpm http://osdn.dl.sourceforge.net/sourceforge/jdictionary/Smart_Lexicon-1_0.jar http://west.dl.sourceforge.net/sourceforge/jdictionary/SmartEngGer-1_4.jar http://west.dl.sourceforge.net/sourceforge/jdictionary/Smart_English_Spanish-1_0.jar http://west.dl.sourceforge.net/sourceforge/jdictionary/Smart_English_Serbian-1_0.jar http://west.dl.sourceforge.net/sourceforge/jdictionary/Smart_Interlingua_English-1_0.jar http://west.dl.sourceforge.net/sourceforge/jdictionary/Smart_Swedish_Interlingua-1_0.jar http://west.dl.sourceforge.net/sourceforge/jdictionary/SmartEngHun-1_4.jar http://west.dl.sourceforge.net/sourceforge/jdictionary/SmartEngHunExp-1_4.jar http://west.dl.sourceforge.net/sourceforge/jdictionary/Smart_French_Hungarian-1_0.jar http://west.dl.sourceforge.net/sourceforge/jdictionary/SmartGerHun-1_4.jar ) url="http://jdictionary.sourceforge.net/download.html" build() { cd $startdir/src/ alien -t jDictionary-$pkgver-0.noarch.rpm tar xvzf jDictionary-1.80.tgz mv usr $startdir/pkg/ mv *.jar $startdir/pkg/usr/share/jdictionary/Plugins/ }