updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / iriverter / PKGBUILD
blobaf071bd8b52248606eaaebf3902e584f604c6eac
1 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=iriverter
4 pkgver=0.16
5 pkgrel=5
6 pkgdesc="Cross-platform mencoder frontend to convert videos for various multimedia players."
7 arch=('i686' 'x86_64')
8 url="http://iriverter.sourceforge.net/"
9 license=('GPL')
10 depends=('mplayer' 'java-runtime' 'swt')
11 makedepends=('fastjar')
12 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
14 md5sums=('43b3e046479f4273851e6a450b6b28bf')
16 build() {
17 #in case not finding javac in $PATH, uncomment following line:
18 #export PATH=$PATH:/opt/java/bin || return 1
20   cd "${srcdir}/$pkgname-$pkgver"
22   ./configure --prefix=/usr --with-swt=/usr/share/java/swt.jar
23   sed -i 's|${exec_prefix}/lib|${exec_prefix}/lib:/usr/share/java|' src/launcher/iriverter || return 1
25   make || return 1
26   make DESTDIR="${pkgdir}" install