updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / libbluray / PKGBUILD
blob130dea62748f7d731d8cbd5c8a24a30e85c97637
1 # Maintainer: Andrew Cook <ariscop@gmail.com>
3 pkgname=libbluray
4 pkgver=20110915
5 pkgrel=1
6 pkgdesc="Blu-Ray access library"
7 arch=('i686' 'x86_64')
8 license=('LGPL')
9 url="http://www.videolan.org/developers/libbluray.html"
10 depends=('openssl')
11 makedepends=('git' 'apache-ant' 'java-environment')
12 optdepends=('libaacs' 'libbdplus' 'java-runtime')
13 source=()
14 md5sums=()
15 provides=('libbluray')
16 conflicts=('libbluray')
18 _gitroot="git://git.videolan.org/libbluray.git"
19 _gitname="libbluray"
21 build() {
22     msg "Connecting to GIT server..."
24         if [ ! -d ${srcdir}/$_gitname ] ; then
25             git clone $_gitroot
26             cd ${srcdir}/libbluray    
27             git checkout -b new e8e400a
28         fi
30     cd ${srcdir}/libbluray
31     
32     msg "GIT checkout done or server timeout"
33     
34     msg "Starting build..."
35         
36     ./bootstrap
37     ./configure --prefix=/ --with-jdk=$J2SDKDIR --enable-bdjava
38     make || return 1
39     make DESTDIR=${pkgdir}/usr install || return 1