updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libnds / PKGBUILD
blob513ea57a2cf57d254340c91df2d6ce870bfaf36b
1 # Maintainer: David El-Saig <daud.ici@gmail.com>
2 # Contributor: Schnouki <thomas.jost@gmail.com>
3 # Contributor: Vithon <ratm@archlinux.us>
4 # Prev. Maintainer : Gonzalo Lorca <human at vtr.net>
6 pkgname=libnds
7 pkgver=1.5.1
8 pkgrel=1
9 pkgdesc="A very useful library for Nintendo DS homebrew games development"
10 arch=(i686 x86_64)
11 url="http://www.devkitpro.org/category/libnds/"
12 license=('custom')
13 makedepends=('devkitarm')
14 source=(http://downloads.sourceforge.net/sourceforge/devkitpro/$pkgname-$pkgver.tar.bz2)
15 md5sums=('17505cc808b87e74508181477038c129')
16 build() {
17   cd $srcdir
18   mkdir -p $pkgdir/opt/devkitpro/
19   mv $srcdir/ $pkgdir/opt/devkitpro/libnds
20   rm $pkgdir/opt/devkitpro/libnds/$pkgname-$pkgver.tar.bz2
21   mkdir -p $pkgdir/usr/share/licenses/$pkgname
22   ln -s /opt/devkitpro/$pkgname/${pkgname}_license.txt $pkgdir/usr/share/licenses/$pkgname/${pkgname}_license.txt