blob: 571eeb7588da944cb8950b2a6580017dded9eda3 (
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
37
38
|
# 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-beta
_pkgname=${pkgname/-beta*/}
pkgver=r24_beta2
pkgrel=1
pkgdesc='Android C/C++ developer kit (beta)'
arch=('x86_64')
url='https://developer.android.com/ndk/'
license=('GPL' 'LGPL' 'custom')
options=('!strip' 'staticlibs')
backup=("etc/profile.d/$pkgname.sh")
install="$pkgname.install"
depends=('glibc' 'bash')
optdepends=(
'ncurses5-compat-libs: for using gdb'
'python2: various helper scripts'
'python: various helper scripts'
)
source=("$pkgname-$pkgver.zip"::"https://dl.google.com/android/repository/${_pkgname}-${pkgver/_/-}-linux.zip"
"$pkgname.sh")
# SHA1 sums is kept to follow upstream releases https://github.com/android-ndk/ndk/issues/673
sha1sums=('78f3006243c0bc051c7c7bfb939689032e7c41ba'
'b0a3c3d4e148c1049f9c8b12f2632840630ea4db')
sha256sums=('379c862f23f9d6a4c475ea54cb2fef67bdeacd4de20749892bd3bf2494b3f790'
'a39422d48174302e1ee27f07031f20adc78224d12c17a5451129a88b47c901c1')
package() {
install -Ddm755 "$pkgdir/opt"
mv "$_pkgname-${pkgver/_/-}" "$pkgdir/opt/$pkgname"
install -Dm644 $pkgname.sh -t "$pkgdir/etc/profile.d/"
# XXX: not creating a symlink at /opt/android-sdk/ndk-bundle as the latter is already used by android-ndk
}
|