1 # Maintainer: Tiago Camargo <tcamargo@gmail.com>
2 # Maintainer: Aaron Lindsay <aaron@aaronlindsay.com>
6 pkgdesc='Library for acessing FAT filesystems from devkitPPC Nintendo Gamecube and Wii homebrew.'
8 url='http://www.devkitpro.org/'
10 options=(!strip libtool)
11 depends=('devkitppc' 'libogc')
12 source=("http://downloads.sourceforge.net/sourceforge/devkitpro/libfat-src-${pkgver}.tar.bz2"
14 md5sums=('3f01f591e8bc512e7e5fa54d2102bc28'
15 '619c49f1889c30db301ed26b97631fd5')
18 source /etc/profile.d/devkitppc.sh
20 make ogc-release || return 1
22 export DEVKITPRO="${pkgdir}/opt/devkitpro"
23 mkdir -p "${DEVKITPRO}/libogc/lib/"{cube,wii}
24 mkdir -p "${DEVKITPRO}/libogc/include"
25 make ogc-install || return 1
27 install -Dm644 "${srcdir}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"