1 # Maintainer: Franco Tortoriello <franco.tortoriello@gmail.com>
6 pkgdesc="IDE for the Nintendo NES"
8 url="http://www.nesicide.com"
10 depends=('nesicide-emulator-lib-git' 'qt' 'sdl_sound' 'lua')
18 _gitroot="git://gitorious.org/nesicide/nesicide.git"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
40 sed 's|/usr/local|/usr|' -i Makefile
45 cd "$srcdir/$_gitname-build"
46 mkdir -p "$pkgdir/usr/bin"
47 make INSTALL_ROOT="$pkgdir" install