updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / palib / PKGBUILD
blob1e8c79e5c30fe911f6865ac55ecac240d70aa36f
1 # Maintainer: Gerardo Marset <gammer1994@gmail.com>
2 # Contributor: Alain
3 pkgname=palib
4 pkgver=100707
5 pkgrel=1
6 pkgdesc="An easy-to-use development library and toolset for the Nintendo DS"
7 license=('GPL2')
8 arch=('i686' 'x86_64')                                                          
9 url="http://palib-dev.com/"
10 makedepends=('p7zip')
11 depends=('devkitarm>=r27' 'dswifi>=0.3.11' 'libnds>=1.4.0' 'libfat-nds>=1.0.6'  'alsa-lib' 'gtk2' 'libgl')
12 source=(http://palib-dev.com/PAlib$pkgver.7z
13         "http://downloads.sourceforge.net/sourceforge/devkitpro/libfilesystem-0.9.9.tar.bz2")
14 md5sums=('740efad08dcd9a9aa9ec915e2b14c16f' 'e24a5248360034bd425dabcbf6cd1629')
15 options=(!strip)
18 build() {
19   cd $startdir/src
21   mkdir -p $pkgdir/opt/devkitpro/libnds
22   cp -r include $pkgdir/opt/devkitpro/libnds/
23   cp -r lib $pkgdir/opt/devkitpro/libnds/
25   7z x ../PAlib$pkgver.7z -oPAlib
26   mkdir -p $pkgdir/opt/devkitpro/PAlib
27   ls
28   cp -r PAlib $pkgdir/opt/devkitpro
29   chmod -R 755 $pkgdir/opt/devkitpro/PAlib