updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libfat-ogc / PKGBUILD
blobd648591b7ae39644343d7e3469800e6de8b4f0a2
1 # Maintainer: Tiago Camargo <tcamargo@gmail.com>
2 # Maintainer: Aaron Lindsay <aaron@aaronlindsay.com>
3 pkgname=libfat-ogc
4 pkgver=1.0.10
5 pkgrel=1
6 pkgdesc='Library for acessing FAT filesystems from devkitPPC Nintendo Gamecube and Wii homebrew.'
7 arch=('i686' 'x86_64')
8 url='http://www.devkitpro.org/'
9 license=('custom')
10 options=(!strip libtool)
11 depends=('devkitppc' 'libogc')
12 source=("http://downloads.sourceforge.net/sourceforge/devkitpro/libfat-src-${pkgver}.tar.bz2"
13         "license.txt")
14 md5sums=('3f01f591e8bc512e7e5fa54d2102bc28'
15          '619c49f1889c30db301ed26b97631fd5')
17 build() {
18         source /etc/profile.d/devkitppc.sh
19         cd "${srcdir}"
20         make ogc-release || return 1
21         
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
26         
27         install -Dm644 "${srcdir}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"