nlink-ng

LOW
maintainer RyanHakurei 0 votes scanned 2026-09-11 15:22:58.728112
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: Ryan <ryan@freyja.pw>
2pkgname=nlink-ng
3pkgver=0.2.0
4pkgrel=2
5pkgdesc="Native Qt 6 linking program for TI-Nspire calculators (CX-II included)"
6arch=('x86_64')
7url="https://github.com/RyanHakurei/nlink-ng"
8license=('GPL-3.0-only')
9depends=('qt6-base' 'libusb' 'hicolor-icon-theme')
10makedepends=('cmake' 'rust' 'pkgconf' 'git')
11optdepends=('qt6-wayland: Wayland support')
12provides=('n-link')
13conflicts=('n-link' 'n-link-git' 'n-link.bin')
14replaces=('n-link')
15options=('!lto')
16install=nlink-ng.install
17source=(
18 "git+https://github.com/RyanHakurei/nlink-ng.git#tag=v$pkgver"
19 "69-nlink-ng.rules"
20)
21sha256sums=(
22 'SKIP'
23 '10007d13980e1d6a3e92c4e843a908ea58531155bce0583c826940bf64423bec'
24)
25
26prepare() {
27 export CARGO_HOME="$srcdir/cargo-home"
28 cargo fetch --locked --manifest-path "$srcdir/nlink-ng/nlink/Cargo.toml" \
29 --target "$(rustc -vV | sed -n 's/^host: //p')"
30}
31
32build() {
33 export CARGO_HOME="$srcdir/cargo-home"
34 export CARGO_NET_OFFLINE=true
35 export RUSTFLAGS="${RUSTFLAGS:-} --remap-path-prefix ${srcdir}="
36
37 cmake -S "$srcdir/nlink-ng/qt" -B build \
38 -DCMAKE_BUILD_TYPE=None \
39 -DCMAKE_INSTALL_PREFIX=/usr \
40 -Wno-dev
41 cmake --build build
42}
43
44package() {
45 DESTDIR="$pkgdir" cmake --install build
46
47 local src="$srcdir/nlink-ng"
48 install -Dm644 "$src/qt/nlink-ng.desktop" \
49 "$pkgdir/usr/share/applications/nlink-ng.desktop"
50 install -Dm644 "$src/qt/icons/icon.png" \
51 "$pkgdir/usr/share/icons/hicolor/512x512/apps/nlink-ng.png"
52 install -Dm644 "$srcdir/69-nlink-ng.rules" \
53 "$pkgdir/usr/lib/udev/rules.d/69-nlink-ng.rules"
54 install -Dm644 "$src/LICENSE" \
55 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
56}
57

Scan history

Scanned at (UTC)SeverityRules
2026-09-11 15:22:58 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