android-riscv64-harfbuzz-icu

MEDIUM
maintainer hipersayan_x 0 votes base android-riscv64-harfbuzz scanned 2026-09-25 07:10:52.990950
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: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
2# Contributor: pingplug < aur at pingplug dot me >
3# Contributor: Schala Zeal < schalaalexiazeal at gmail dot com >
4
5_android_arch=riscv64
6
7pkgbase=android-${_android_arch}-harfbuzz
8pkgname=("android-${_android_arch}-harfbuzz"
9 "android-${_android_arch}-harfbuzz-icu")
10pkgver=12.3.2
11pkgrel=1
12pkgdesc="OpenType text shaping engine (Android ${_android_arch})"
13arch=('any')
14license=('MIT')
15url="https://www.freedesktop.org/wiki/Software/HarfBuzz"
16groups=('android-harfbuzz')
17depends=("android-${_android_arch}-glib2"
18 "android-${_android_arch}-graphite"
19 "android-${_android_arch}-freetype2")
20makedepends=('android-meson'
21 "android-${_android_arch}-cairo"
22 "android-${_android_arch}-icu"
23 'python'
24 'ragel')
25options=(!strip !buildflags staticlibs !emptydirs)
26source=("https://github.com/harfbuzz/harfbuzz/archive/refs/tags/${pkgver}.tar.gz")
27md5sums=('3e9011ecd909047e98a18192b620d16b')
28
29build() {
30 cd "${srcdir}/harfbuzz-${pkgver}"
31 source android-env ${_android_arch}
32
33 android-${_android_arch}-meson build-shared \
34 -D b_lto=false \
35 -D graphite=enabled \
36 -D tests=disabled \
37 -D docs=disabled
38 sed -i 's|-Wl,--no-undefined||g' build-shared/build.ninja
39 ninja -C build-shared
40
41 android-${_android_arch}-meson build-static \
42 --default-library static \
43 -D b_lto=false \
44 -D graphite=enabled \
45 -D tests=disabled \
46 -D docs=disabled
47 sed -i 's|-Wl,--no-undefined||g' build-static/build.ninja
48 ninja -C build-static
49}
50
51package_android-riscv64-harfbuzz() {
52 cd "${srcdir}/harfbuzz-${pkgver}"
53 source android-env ${_android_arch}
54
55 DESTDIR="${pkgdir}" ninja -C build-shared install
56 DESTDIR="${pkgdir}" ninja -C build-static install
57
58 cp "src/hb-ft.h" "${pkgdir}/${ANDROID_PREFIX_INCLUDE}/harfbuzz/"
59 rm -r "${pkgdir}/${ANDROID_PREFIX_BIN}"
60 ${ANDROID_STRIP} -g "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.a || true
61 ${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so
62
63 mkdir -p "hb-icu/${ANDROID_PREFIX}"/{include/harfbuzz,lib/pkgconfig}
64 mv -vf "${pkgdir}/${ANDROID_PREFIX_LIB}"/libharfbuzz-icu* "hb-icu/${ANDROID_PREFIX_LIB}"
65 mv -vf "${pkgdir}/${ANDROID_PREFIX_LIB}/pkgconfig/harfbuzz-icu.pc" "hb-icu/${ANDROID_PREFIX_LIB}/pkgconfig"
66 mv -vf "${pkgdir}/${ANDROID_PREFIX_INCLUDE}/harfbuzz/hb-icu.h" "hb-icu/${ANDROID_PREFIX_INCLUDE}/harfbuzz"
67
68 install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"
69}
70
71package_android-riscv64-harfbuzz-icu() {
72 pkgdesc="OpenType text shaping engine (ICU integration, Android ${_android_arch})"
73 depends=("android-${_android_arch}-harfbuzz"
74 "android-${_android_arch}-icu")
75
76 mkdir -p "${pkgdir}/${ANDROID_PREFIX}"
77 mv -vf "${srcdir}/harfbuzz-${pkgver}/hb-icu/${ANDROID_PREFIX}"/* "${pkgdir}/${ANDROID_PREFIX}"
78
79 install -vDm 644 "${srcdir}/harfbuzz-${pkgver}/COPYING" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
80}
81

Scan history

Scanned at (UTC)SeverityRules
2026-09-25 07:10:52 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