1 # Contributor: Florian Maunier <mail@fmauneko.eu>
6 pkgdesc="Library for Nintendo Gamecube/Wii development."
7 url="http://www.devkitpro.org/"
15 source=(Makefile_destdir.patch)
16 md5sums=('7e865608316b5854ee29397b6ed71988')
18 _gitroot="git://hackmii.com/home/ogcgit/libogc"
23 msg "Connecting to hackmii.com GIT server...."
25 if [ -d ${srcdir}/$_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
36 cd ${srcdir}/$_gitname-build
38 patch -Np0 -i ${srcdir}/Makefile_destdir.patch
41 make DESTDIR=${pkgdir} install || return 1