updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / devkitppc / PKGBUILD
blob6d214553c2220e4f6ca11d15c6b1fe06b34e9cc9
1 # Maintainer: Tiago Camargo <tcamargo@gmail.com>
2 # Maintainer: Aaron Lindsay <aaron@aaronlindsay.com>
3 pkgname=devkitppc
4 pkgver=r24
5 pkgrel=1
6 pkgdesc='A PowerPC toolchain for Nintendo Gamecube and Wii development.'
7 arch=('i686' 'x86_64')
8 url="http://www.devkitpro.org/"
9 license=('GPL')
10 options=(!strip libtool)
11 depends=('gcc-libs' 'zlib' 'sh' 'expat')
12 install='devkitppc.install'
13 source=("http://downloads.sourceforge.net/sourceforge/devkitpro/devkitPPC_${pkgver}-${CARCH}-linux.tar.bz2"
14         "devkitppc.sh")
15 md5sums=('48cff4f1bec8009746f9cefb2c475871')
16 [ "$CARCH" = "x86_64" ] && \
17   md5sums=('2e76a69722c41ec129c0fd8ebd0f0bcc' ${md5sums[@]}) || \
18   md5sums=('68cc4fc7b7476fa78cd10fb7c5f332e7' ${md5sums[@]})
20 build() {
21         mkdir -p "${pkgdir}/opt/devkitpro"
22         mv "${srcdir}/devkitPPC" "${pkgdir}/opt/devkitpro/"
23         
24         mkdir -p "${pkgdir}/etc/profile.d"
25         cp "${srcdir}/devkitppc.sh" "${pkgdir}/etc/profile.d/"
26         chmod 755 "${pkgdir}/etc/profile.d/devkitppc.sh"