updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / arm-2010-arm-none-eabi / PKGBUILD
blobc44d6df17ce320b2c63de649af0c80fe3bcc6e48
1 # Maintainer: Alec Ari <neotheuser@ymail.com>
3 pkgname=arm-2010-arm-none-eabi
4 pkgver=2010.09
5 pkgrel=1
6 pkgdesc="Sourcery G++ Lite 2010.09-51 for ARM EABI"
7 arch=('i686' 'x86_64')
8 url="http://www.codesourcery.com/sgpp/lite/arm/portal/release1592"
9 #Custom license according to share/doc/arm-arm-none-eabi/LICENSE.txt
10 license=('custom')
11 depends=()
12 options=(!strip)
13 source=(http://www.codesourcery.com/sgpp/lite/arm/portal/package7813/public/arm-none-eabi/arm-2010.09-51-arm-none-eabi-i686-pc-linux-gnu.tar.bz2)
14 md5sums=('273e0c8da3111244957935aa4d6da197')
16 build() {
17 #Copy base binaries, libraries and such
18 mkdir -p $pkgdir/usr
19 cd $srcdir/arm-$pkgver
20 cp -PR bin $pkgdir/usr/bin
21 cp -PR lib $pkgdir/usr/lib
22 cp -PR libexec $pkgdir/usr/libexec
23 #Copy license file for legal purposes
24 mkdir -p $pkgdir/usr/share/licenses
25 cp -PR share/doc/arm-arm-none-eabi/LICENSE.txt $pkgdir/usr/share/licenses/arm-2010.09
27 msg "ARM toolchain prefix installed as arm-none-eabi"