1 # Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
6 pkgdesc="A Java GUI for mencoder"
8 url="http://jmencode.sourceforge.net"
10 depends=('java-runtime' 'mplayer' 'mkvtoolnix' 'gpac')
12 source=(http://downloads.sourceforge.net/$pkgname/JMencode_v${pkgver}.zip \
13 $pkgname.sh $pkgname.desktop)
14 md5sums=('e008964c80ace65627e62883652df5af'
15 '0250a3c8da1068eff9d750f300d9b32b'
16 'de8d95759e1ea1d289c92c13ed3dd3cb')
20 install -D -m644 JMEncode.jar "$pkgdir"/usr/share/java/$pkgname/$pkgname.jar
22 # keep relative path of the extra library because the classpath option doesn't work
23 install -D -m644 lib/swing-layout-$_libver.jar \
24 "$pkgdir"/usr/share/java/$pkgname/lib/swing-layout-$_libver.jar
25 install -D -m755 $pkgname.sh "$pkgdir"/usr/bin/$pkgname
26 install -D -m644 icon.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
27 install -D -m644 $pkgname.desktop \
28 "$pkgdir"/usr/share/applications/$pkgname.desktop