updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / android-ndk / PKGBUILD
blobf48e564aefb61d667b4ed3d5b6c41b4a393ccddb
1 # Maintainer: Daniel Micay <danielmicay@gmail.com>
2 pkgname=android-ndk
3 pkgver=r7
4 pkgrel=1
5 pkgdesc="Android C/C++ developer kit"
6 arch=(i686 x86_64)
7 url="http://developer.android.com/sdk/ndk/index.html"
8 license=(GPL LGPL custom)
9 depends=(android-sdk)
10 options=(!strip)
11 makedepends=(tar)
12 source=(https://dl-ssl.google.com/android/ndk/$pkgname-$pkgver-linux-x86.tar.bz2
13         $pkgname.sh)
14 sha1sums=('64020a87f17d5a6d99da1b0438e88c06222321de'
15           '2c03a98f773704d3357ed06d6cc2412b184a3c0c')
16 install=$pkgname.install
18 package() {
19   cd "$pkgdir"
20   install -Dm755 "$srcdir/android-ndk.sh" etc/profile.d/android-ndk.sh
21   mkdir opt
22   cp -a "$srcdir/$pkgname-$pkgver" opt/android-ndk
23   # Fix broken permissions
24   chmod -R o=g opt/$pkgname