1 #Contributor: Jesse Jaara <jesse.jaara@gmail.com>
6 pkgdesc="Java Media Framework (with MP3 Plugin)"
7 url="http://java.sun.com/products/java-media/jmf/"
10 depends=('java-environment')
13 source=("http://clusteredserver.googlecode.com/files/jmf-2_1_1e-alljava.zip" \
14 "http://huulivoide.pp.fi/Arch/jmf-mp3.tar.xz" LICENSE)
22 if [ -d /usr/lib/jvm/java-6-openjdk ]; then
24 mkdir "${pkgdir}/usr/lib/jvm/java-6-openjdk/jre/lib/ext" -p
27 cp bin "${pkgdir}/usr/lib/jvm/java-6-openjdk/jre/" -r
28 cp lib/*.jar "${pkgdir}/usr/lib/jvm/java-6-openjdk/jre/lib/ext/"
29 cp lib/jmf.properties "${pkgdir}/usr/lib/jvm/java-6-openjdk/jre/lib/"
31 cp "${srcdir}/jmfRegisterMp3Plugin" "${pkgdir}/usr/lib/jvm/java-6-openjdk/jre/bin/"
32 cp "${srcdir}/registerMp3Plugin.class" "${pkgdir}/usr/lib/jvm/java-6-openjdk/jre/lib/"
33 cp "${srcdir}/mp3plugin.jar" "${pkgdir}/usr/lib/jvm/java-6-openjdk/jre/lib/ext/"
40 mkdir "${pkgdir}/opt/java/jre/lib/ext/lib/ext" -p
43 cp bin "${pkgdir}/opt/java/jre/" -r
44 cp lib/*.jar "${pkgdir}/opt/java/jre/lib/ext/"
45 cp lib/jmf.properties "${pkgdir}/opt/java/jre/lib/"
47 cp "${srcdir}/jmfRegisterMp3Plugin" "${pkgdir}/opt/java/jre/bin/"
48 cp "${srcdir}/registerMp3Plugin.class" "${pkgdir}/opt/java/jre/lib/"
49 cp "${srcdir}/mp3plugin.jar" "${pkgdir}/opt/java/jre/lib/ext/"
54 mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}/"
55 cp "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"
58 md5sums=('5dafc2469b22d18420ada45972a88ec0'
59 '19e483a0c53396656c3885646a9d60b2'
60 '96afb7ef8418bcdccfaae615de40881a')