blob: b8bdcd6d8ab6e92b8ba0806f502d3a4d32ea7e37 (
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
31
32
33
34
35
36
|
# Maintainer: Jah Way <jahway603 at protonmail dot com>
# from the official repos:
# 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>
_pkg=android-ndk
pkgname=android-ndk-20b
pkgver=r20b
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="android-ndk.install"
provides=('android-ndk')
conflicts=('android-ndk')
replaces=('android-ndk64')
depends=('glibc')
source=('android-ndk.sh')
source_x86_64=("https://dl.google.com/android/repository/android-ndk-$pkgver-linux-x86_64.zip")
sha256sums=('2068618bc3e99149310f544be5d639ae183dc767d5a7157a07d8e024417b6017')
sha256sums_x86_64=('8381c440fe61fcbb01e209211ac01b519cd6adf51ab1c2281d5daad6ca4c8c8c')
package() {
install -Ddm755 "$pkgdir/opt"
mv "$_pkg-$pkgver" "$pkgdir/opt/$_pkg"
install -Dm755 android-ndk.sh "$pkgdir/etc/profile.d/android-ndk.sh"
}
# vim: ts=2 sw=2 et:
|