1 # Contributor: Uwe Strempel <u.strempel@googlemail.com>
5 pkgdesc="A tiny media scanner library."
7 url="http://hg.geexbox.org/libvalhalla"
9 depends=('libexif' 'libnfo-hg' 'ffmpeg')
10 makedepends=('mercurial')
12 provides=('libvalhalla')
13 conflicts=('libvalhalla')
16 _hgroot="http://hg.geexbox.org/libvalhalla"
22 if [ -d ${_hgrepo} ]; then
23 cd ${startdir}/src/${_hgrepo}
26 hg clone ${_hgroot}${_hgrepo} || return 1
27 cd ${startdir}/src/${_hgrepo}
30 msg "Mercurial checkout done or server timeout"
31 msg "Starting make..."
33 cp -R ${startdir}/src/${_hgrepo} ${startdir}/src/${_hgrepo}-build
34 cd ${startdir}/src/${_hgrepo}-build
36 ./configure --prefix=/usr --disable-grabber-nfo || return 1
38 make DESTDIR=${startdir}/pkg install
40 rm -rf ${startdir}/src/${_hgrepo}-build