blend2d-git

MEDIUM
maintainer dreieck 2 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: Cebtenzzre <cebtenzzre (at) gmail (dot) com>
2
3_pkgname=blend2d
4pkgname=${_pkgname}-git
5pkgver=r87.592d1ba
6pkgrel=1
7pkgdesc='A high-performance 2D vector graphics engine written in C++'
8url='https://blend2d.com'
9arch=('i686' 'x86_64')
10license=('custom:zlib')
11depends=('glibc')
12makedepends=('clang' 'cmake' 'git')
13provides=("$_pkgname")
14conflicts=("$_pkgname")
15source=("${_pkgname}::git+https://github.com/blend2d/blend2d"
16 "asmjit::git+https://github.com/asmjit/asmjit")
17sha1sums=('SKIP' 'SKIP')
18
19pkgver() {
20 cd "$_pkgname"
21 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
22}
23
24build() {
25 cd "$_pkgname"
26
27 [[ -d build ]] && rm -rf build
28 mkdir build && cd build
29
30 # "It's strongly advised to use Clang to compile Blend2D on all platforms to achieve maximum performance."
31 export CC='clang'
32 export CXX='clang++'
33
34 # Build a shared library with tests
35 cmake .. \
36 -DCMAKE_INSTALL_PREFIX=/usr \
37 -DCMAKE_BUILD_TYPE=Release \
38 -DASMJIT_DIR="$srcdir"/asmjit \
39 -DBLEND2D_EMBED=FALSE \
40 -DBLEND2D_STATIC=FALSE \
41 -DBLEND2D_TEST=TRUE
42
43 make
44}
45
46check() {
47 cd "$_pkgname"/build
48 ./bl_test_unit
49}
50
51package() {
52 cd "$_pkgname"/build
53 make DESTDIR="$pkgdir" install
54
55 # Do not include the unit test program
56 rm -rf "$pkgdir"/usr/bin
57
58 install -Dm644 -t "$pkgdir"/usr/share/licenses/"$pkgname" ../LICENSE.md
59}
60

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