1 # Contributer: Matthew Bauer <mjbauer95@gmail.com>
7 pkgdesc="Reggie! is an easy-to-use and full-featured level editor for New Super Mario Bros. Wii, created by Treeki and Tempus. (nsmbwii)"
9 url="http://rvlution.net/$_pkgname/"
13 md5sums=('f2788d2c556bf37472a6eabf3f139344')
14 provides=("$_pkgname")
15 conflicts=("$_pkgname")
17 _gitroot="git://github.com/Treeki/Reggie.git"
23 mkdir -p "$pkgdir/usr/bin"
24 cp reggie "$pkgdir/usr/bin/$_pkgname"
25 chmod +x "$pkgdir/usr/bin/$_pkgname"
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
33 git clone $_gitroot $_gitname
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf "$srcdir/$_gitname-build"
40 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
43 mkdir -p "$pkgdir/usr/share/$_pkgname"
44 cp -r common.py $_pkgname.py reggieextras archive.py license.txt lz77.py readme.txt reggiedata sprites.py "$pkgdir/usr/share/$_pkgname"