android-ndk-27

MEDIUM
maintainer tredaelli 1 votes scanned 2026-09-27 13:18:29.354985
View on AUR
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
7pkgname=android-ndk-27
8pkgver=r27.d
9pkgrel=1
10pkgdesc='Android C/C++ developer kit'
11arch=('x86_64')
12url='https://developer.android.com/ndk/'
13license=('GPL' 'LGPL' 'custom')
14options=('!strip' 'staticlibs')
15backup=("etc/profile.d/android-ndk.sh")
16install="$pkgname.install"
17conflicts=('android-ndk')
18provides=("android-ndk=$pkgver")
19replaces=('android-ndk64')
20depends=('bash' 'glibc' 'gcc-libs' 'zlib')
21# makedepends are just for making namcap happy. AUR packages are not added to
22# avoid unneeded efforts
23makedepends=('bzip2' 'libxcrypt-compat' 'python' 'perl' 'libc++')
24optdepends=(
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)
32source=("android-ndk.sh")
33source_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
35sha1sums=('38c46b7b1a1c54a0845d027a8eaf37ed0447d3b2')
36sha1sums_x86_64=('22105e410cf29afcf163760cc95522b9fb981121')
37sha256sums=('2050ff500443f6cfa4567c02248cb3ec6ccbc67ce81b32d8dda79383c5103db2')
38sha256sums_x86_64=('601246087a682d1944e1e16dd85bc6e49560fe8b6d61255be2829178c8ed15d9')
39
40package() {
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)SeverityRules
2026-09-27 13:18:29 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion