optee-client

LOW
maintainer nojo 0 votes scanned 2026-09-20 01:31:57.835043
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Nikolay Bryskin <nikicat@users.noreply.github.com>
2# OP-TEE normal-world userspace: libteec, libckteec (PKCS#11), tee-supplicant.
3# udev starts tee-supplicant@teepriv0 as soon as the optee driver binds.
4pkgname=optee-client
5pkgver=4.10.0
6pkgrel=1
7pkgdesc="OP-TEE client library, PKCS#11 library (libckteec) and tee-supplicant"
8arch=('aarch64' 'x86_64')
9url="https://github.com/OP-TEE/optee_client"
10license=('BSD-2-Clause')
11depends=('glibc')
12makedepends=('cmake' 'systemd')
13source=("optee_client-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
14 'optee-client.sysusers' 'optee-client.tmpfiles')
15sha256sums=('984084a465f55ed8037e0e27eb4399149b5cec981ed295c2f0ee0dd515f60af9'
16 '5cd1063e78a60d273b7f995796c1e0ae92d1ada7fddef2183d8028af1dbab272'
17 'a79dad28d5ec7a88a2c1f06894199ba7f44d1444c3f09d1c4802ccb36be8e637')
18
19build() {
20 cmake -S optee_client-$pkgver -B build -DCMAKE_BUILD_TYPE=Release \
21 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_SBINDIR=bin \
22 -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_INSTALL_SYSCONFDIR=/etc \
23 -DBUILD_SHARED_LIBS=ON -DCFG_USE_PKGCONFIG=OFF -DWITH_TEEACL=OFF -DWITH_ASTEEC=OFF \
24 -DSYSTEMD_UNIT_DIR=/usr/lib/systemd/system -DUDEV_UDEV_DIR=/usr/lib/udev/rules.d \
25 -DCFG_TEE_CLIENT_LOAD_PATH=/usr/lib
26 cmake --build build
27}
28
29package() {
30 DESTDIR="$pkgdir" cmake --install build
31 install -Dm644 optee-client.sysusers "$pkgdir/usr/lib/sysusers.d/optee-client.conf"
32 install -Dm644 optee-client.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/optee-client.conf"
33 install -Dm644 optee_client-$pkgver/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
34}
35

Scan history

Scanned at (UTC)SeverityRules
2026-09-20 01:31:57 Low 1

Report a package

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

0 / 4000
Your suggestion