updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / jffmpeg / PKGBUILD
blob4e27f3a3dcfc25b2026039b8d82c00397d2777a1
1 #Contributor: Dario Andres Rodriguez <andresbajotierra@gmail.com>
3 pkgname=jffmpeg
4 pkgver=1.1.0
5 pkgrel=2
6 pkgdesc="Codec Pack for the Java Media Framework based around a Java port of parts of the FFMPEG project"
7 url="http://jffmpeg.sourceforge.net/"
8 license=('gpl' 'lgpl' 'bsd')
9 arch=(i686)
10 depends=('jmf' 'ffmpeg')
11 source=(http://downloads.sourceforge.net/jffmpeg/jffmpeg-$pkgver.jar http://downloads.sourceforge.net/jffmpeg/libjffmpeg-$pkgver.so jmfRegisterJffmpegPlugin registerJffmpeg.class jmfUnregisterJffmpegPlugin unregisterJffmpeg.class)
12 install="jffmpeg.install"
14 build() {
15         cd $startdir/src
16         
17     mkdir $startdir/pkg/opt/java/jre/{lib/ext,bin} -p
18         
19     cp $startdir/src/jffmpeg-$pkgver.jar $startdir/pkg/opt/java/jre/lib/ext/
20     cp $startdir/src/libjffmpeg-$pkgver.so $startdir/pkg/opt/java/jre/lib/ext/
21     cp $startdir/src/jmfRegisterJffmpegPlugin $startdir/pkg/opt/java/jre/bin/
22     cp $startdir/src/registerJffmpeg.class $startdir/pkg/opt/java/jre/lib/
23     cp $startdir/src/jmfUnregisterJffmpegPlugin $startdir/pkg/opt/java/jre/bin/
24     cp $startdir/src/unregisterJffmpeg.class $startdir/pkg/opt/java/jre/lib/
26 md5sums=('957971c17768c7238a4fe1046d8dc332'
27          'f61ae4ef26b3325df8655eba328d17a1'
28          '0f49bd0329ac3f06b9dc202ca75f9661'
29          '70430513495980037509660789aed9d0'
30          '7c58cf3b92e94f6d17b598701a5c2ead'
31          '5678737e53ad9f301272462521c84528')