1 # Maintainer: Marco Rocco <mr85mr@gmail.com>
2 pkgname=jgoogletranslator
5 pkgdesc='A translator written in Java using Google online service'
7 url='http://www.echlab.com/'
9 depends=('java-runtime')
10 source=("http://www.echlab.com/pub/jGoogleTranslator/jGoogleTranslator-$pkgver.tar.gz")
11 md5sums=('da337946f70db26cabb6a5e82480338a')
16 install -d $pkgdir/usr/share/java/jGoogleTranslator/
17 # install launcher file
18 install -D -m755 $srcdir/jGoogleTranslator.sh "$pkgdir/usr/bin/jGoogleTranslator" || return 1
19 install -D -m755 $srcdir/jGoogleTranslator.jar "$pkgdir/usr/share/java/jGoogleTranslator/"
20 install -D -m644 "$srcdir/jGoogleTranslator.desktop" "$pkgdir/usr/share/applications/jGoogleTranslator.desktop" || return 1
21 install -D -m644 "$srcdir/jGoogleTranslator.png" "$pkgdir/usr/share/pixmaps/jGoogleTranslator.png" || return 1