1 # Maintainer: Tiago Camargo <tcamargo@gmail.com>
2 # Maintainer: Aaron Lindsay <aaron@aaronlindsay.com>
6 pkgdesc='A PowerPC toolchain for Nintendo Gamecube and Wii development.'
8 url="http://www.devkitpro.org/"
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"
15 md5sums=('48cff4f1bec8009746f9cefb2c475871')
16 [ "$CARCH" = "x86_64" ] && \
17 md5sums=('2e76a69722c41ec129c0fd8ebd0f0bcc' ${md5sums[@]}) || \
18 md5sums=('68cc4fc7b7476fa78cd10fb7c5f332e7' ${md5sums[@]})
21 mkdir -p "${pkgdir}/opt/devkitpro"
22 mv "${srcdir}/devkitPPC" "${pkgdir}/opt/devkitpro/"
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"