android-ndk-27
MEDIUM
maintainer tredaelli
1 votes
scanned 2026-09-27 13:18:29.354985
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: Miguel Revilla Rodríguez <yo at miguelrevilla dot com>
2
# Contributor: Chih-Hsuan Yen <yan12125@gmail.com>
3
# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
4
# Contributor: Daniel Micay <danielmicay@gmail.com>
5
# Contributor: frownlee <florez.brownlee@gmail.com>
6
7
pkgname=android-ndk-27
8
pkgver=r27.d
9
pkgrel=1
10
pkgdesc='Android C/C++ developer kit'
11
arch=('x86_64')
12
url='https://developer.android.com/ndk/'
13
license=('GPL' 'LGPL' 'custom')
14
options=('!strip' 'staticlibs')
15
backup=("etc/profile.d/android-ndk.sh")
16
install="$pkgname.install"
17
conflicts=('android-ndk')
18
provides=("android-ndk=$pkgver")
19
replaces=('android-ndk64')
20
depends=('bash' 'glibc' 'gcc-libs' 'zlib')
21
# makedepends are just for making namcap happy. AUR packages are not added to
22
# avoid unneeded efforts
23
makedepends=('bzip2' 'libxcrypt-compat' 'python' 'perl' 'libc++')
24
optdepends=(
25
'ncurses5-compat-libs: for curses module in bundled Python'
26
'bzip2: for bz2 module in bundled Python'
27
'libxcrypt-compat: for crypt module in bundled Python'
28
'python: various helper scripts'
29
'perl: various helper scripts'
30
'libc++: for some LLVM components'
31
)
32
source=("android-ndk.sh")
33
source_x86_64=("https://dl.google.com/android/repository/android-ndk-${pkgver/./}-linux.zip")
34
# SHA1 sums is kept to follow upstream releases https://github.com/android-ndk/ndk/issues/673
35
sha1sums=('38c46b7b1a1c54a0845d027a8eaf37ed0447d3b2')
36
sha1sums_x86_64=('22105e410cf29afcf163760cc95522b9fb981121')
37
sha256sums=('2050ff500443f6cfa4567c02248cb3ec6ccbc67ce81b32d8dda79383c5103db2')
38
sha256sums_x86_64=('601246087a682d1944e1e16dd85bc6e49560fe8b6d61255be2829178c8ed15d9')
39
40
package() {
41
install -Ddm755 "$pkgdir/opt"
42
mv "android-ndk-${pkgver/./}" "$pkgdir/opt/android-ndk"
43
44
install -Dm644 android-ndk.sh -t "$pkgdir/etc/profile.d/"
45
46
# make sdkmanager and gradle recognize NDK
47
install -Ddm755 "$pkgdir"/opt/android-sdk
48
ln -s /opt/android-ndk "$pkgdir"/opt/android-sdk/ndk-bundle
49
}
50
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-27 13:18:29 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |