1 # Contributor: Uwe Strempel <u.strempel@googlemail.com>
5 pkgdesc="A .NFO file reader/writer."
7 url="http://hg.geexbox.org/"
10 makedepends=('make' 'mercurial' 'pkgconfig')
16 _hgroot="http://hg.geexbox.org/"
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
37 ./configure --prefix=/usr || return 1
39 make DESTDIR=${startdir}/pkg install
41 rm -rf ${startdir}/src/${_hgrepo}-build