diff options
author | jahway603 | 2020-05-05 15:21:13 -0400 |
---|---|---|
committer | jahway603 | 2020-05-05 15:21:13 -0400 |
commit | 513aae82f3ae502051425312c56e0357e3a6609f (patch) | |
tree | 99ede740290159dfdd089208fb2eb963fcc6c6c1 /PKGBUILD | |
download | aur-android-ndk-20b.tar.gz |
Android NDK r20b
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b8bdcd6d8ab6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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: |