# Maintainer: carstene1ns # Contributor: Aaron Lindsay # Contributor: Tiago Camargo pkgname=libfat-ogc pkgver=1.0.12 pkgrel=1 pkgdesc="Library for acessing FAT filesystems from Nintendo Gamecube/Wii homebrew" arch=('any') url="http://chishm.drunkencoders.com/libfat/" license=('custom') options=(!strip staticlibs) depends=('libogc') conflicts=('libfat-ogc-svn') # this is a hack to support transition, can be removed later source=("http://downloads.sourceforge.net/sourceforge/devkitpro/libfat-src-$pkgver.tar.bz2") sha256sums=('b36c26766f0fe13cd1ef822242dd2de09ba4598cbd1d7ddbb48cdaeea7e621af') build() { source /etc/profile.d/devkitppc.sh make ogc-release } package() { export DEVKITPRO="$pkgdir"/opt/devkitpro install -d "$DEVKITPRO"/libogc/{lib/{cube,wii},include} make ogc-install # license install -d "$pkgdir"/usr/share/licenses/$pkgname head -n 30 include/fat.h > "$pkgdir"/usr/share/licenses/$pkgname/license.txt }