1 # Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
5 pkgdesc="A linux-based emulator for the Sega Dreamcast system."
7 url="http://www.lxdream.org/"
9 depends=('gtk2' 'libgl' 'libisofs' 'sdl')
10 makedepends=('mercurial')
11 optdepends=('lirc-utils')
13 install='lxdream.install'
14 md5sums=() #generate with 'makepkg -g'
16 _hgroot=http://www.lxdream.org/hg/lxdream
21 msg "Connecting to Mercurial server...."
23 if [[ -d "${_hgrepo}" ]]; then
26 msg "The local files are updated."
28 hg clone "${_hgroot}" "${_hgrepo}"
31 msg "Mercurial checkout done or server timeout"
32 msg "Starting build..."
34 rm -rf "${srcdir}/${_hgrepo}-build"
35 cp -r "${srcdir}/${_hgrepo}" "${srcdir}/${_hgrepo}-build"
36 cd "${srcdir}/${_hgrepo}-build"
42 ./configure --prefix=/usr \
53 cd "${srcdir}/${_hgrepo}-build"
54 make DESTDIR="${pkgdir}/" install
57 # vim:set ts=2 sw=2 et: