blob: 363801a6e40d4f7c9d5268f3f0fe162b35f3719d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Chih-Hsuan Yen <yan12125@gmail.com>
# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Daniel Micay <danielmicay@gmail.com>
# Contributor: frownlee <florez.brownlee@gmail.com>
pkgname=android-ndk
pkgver=r19.c
pkgrel=1
pkgdesc='Android C/C++ developer kit'
arch=('x86_64')
url='https://developer.android.com/ndk/'
license=('GPL' 'LGPL' 'custom')
options=('!strip' 'staticlibs')
backup=('etc/profile.d/android-ndk.sh')
install="$pkgname.install"
replaces=('android-ndk64')
depends=('glibc')
source=('android-ndk.sh')
source_x86_64=("https://dl.google.com/android/repository/$pkgname-${pkgver/./}-linux-x86_64.zip")
sha1sums=('2479a8d74428eb651ad2b9772ad655d7a90af410')
sha1sums_x86_64=('fd94d0be6017c6acbd193eb95e09cf4b6f61b834')
package() {
install -Ddm755 "$pkgdir/opt"
mv "$pkgname-${pkgver/./}" "$pkgdir/opt/$pkgname"
install -Dm755 android-ndk.sh "$pkgdir/etc/profile.d/android-ndk.sh"
}
# vim: ts=2 sw=2 et:
|