updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / jmencode / PKGBUILD
blobe3be4718e6e30655d1b25203669d4cc6cea4f0d9
1 # Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
2 pkgname=jmencode
3 pkgver=0.64
4 _libver=1.0.1
5 pkgrel=3
6 pkgdesc="A Java GUI for mencoder"
7 arch=('i686' 'x86_64')
8 url="http://jmencode.sourceforge.net"
9 license=('GPL')
10 depends=('java-runtime' 'mplayer' 'mkvtoolnix' 'gpac')
11 makedepends=('unzip')
12 source=(http://downloads.sourceforge.net/$pkgname/JMencode_v${pkgver}.zip \
13         $pkgname.sh $pkgname.desktop)
14 md5sums=('e008964c80ace65627e62883652df5af'
15          '0250a3c8da1068eff9d750f300d9b32b'
16          'de8d95759e1ea1d289c92c13ed3dd3cb')
18 build() {
19   cd "$srcdir"
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