1 # Contributor: Gino Pezzin <pezzin@gmail.com>
5 pkgdesc="The tn5250j is a 5250 terminal emulator for the AS/400 written in Java"
6 url="http://tn5250j.sourceforge.net/"
9 depends=('bash' 'openjdk6')
15 source=(http://dl.sourceforge.net/tn5250j/$pkgname-$pkgver-bin-nosubdir.zip $pkgname.sh $pkgname.png $pkgname.desktop)
16 md5sums=('0190aadeb6f993b32db86a25e9aaaba3' 'ac911e2aad8f2bd2b0c5545c17f1eecd' '31671b10de5bbccd092ad345dda5adf8' 'c0355b249c10dbca9dfcb7273879dd72')
21 mkdir -p $startdir/pkg/usr/share/java/$pkgname
22 install -D -m644 *.* $startdir/pkg/usr/share/java/tn5250j/
23 install -D -m644 ../$pkgname.png $startdir/pkg/usr/share/pixmaps/$pkgname.png
24 install -D -m644 ../$pkgname.desktop $startdir/pkg/usr/share/applications/$pkgname.desktop
25 install -D -m755 $startdir/$pkgname.sh $startdir/pkg/usr/bin/$pkgname.sh
26 cd $startdir/pkg/usr/share/java/$pkgname
27 rm $pkgname-$pkgver-bin-nosubdir.zip $pkgname.{sh,png,desktop}