updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / devkitarm / PKGBUILD
blob09ba35c713812f8c394bc7a7c3e306d71e154e14
1 # Contributor: Schnouki <thomas.jost@gmail.com>
2 # Contributor: Vithon <ratm@archlinux.us>
3 # Contributor: Aaron <aaron@aaronlindsay.com>
4 pkgname=devkitarm
5 pkgver=r36
6 pkgrel=1
7 pkgdesc="An ARM toolchain for GP32, Nintendo DS, GBA, and Wii homebrew game development"
8 arch=('i686' 'x86_64')
9 url="http://www.devkitpro.org/"
10 license=('GPL')
11 options=(!strip libtool)
12 depends=('zlib' 'sh' 'expat')
13 install='devkitarm.install'
14 source=("http://downloads.sourceforge.net/sourceforge/devkitpro/devkitARM_${pkgver}-${CARCH}-linux.tar.bz2"
15         "devkitarm.sh")
16 md5sums=('591b5de867a00de00044f8ad93eca76b')
17 [ "${CARCH}" = "x86_64" ] && \
18         md5sums=('9893c61939945af19bbeb5353bbcdc68' ${md5sums[@]}) || \
19         md5sums=('f2b914e1ff5544db2404555d1f118e2d' ${md5sums[@]})
21 build() {
22         mkdir -p "${pkgdir}/opt/devkitpro"
23         mv "${srcdir}/devkitARM" "${pkgdir}/opt/devkitpro/"
24         
25         mkdir -p "${pkgdir}/etc/profile.d"
26         cp "${srcdir}/devkitarm.sh" "${pkgdir}/etc/profile.d/"
27         chmod 755 "${pkgdir}/etc/profile.d/devkitarm.sh"