nlink-ng
LOW
maintainer RyanHakurei
0 votes
scanned 2026-09-11 15:22:58.728112
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>
2
pkgname=nlink-ng
3
pkgver=0.2.0
4
pkgrel=2
5
pkgdesc="Native Qt 6 linking program for TI-Nspire calculators (CX-II included)"
6
arch=('x86_64')
7
url="https://github.com/RyanHakurei/nlink-ng"
8
license=('GPL-3.0-only')
9
depends=('qt6-base' 'libusb' 'hicolor-icon-theme')
10
makedepends=('cmake' 'rust' 'pkgconf' 'git')
11
optdepends=('qt6-wayland: Wayland support')
12
provides=('n-link')
13
conflicts=('n-link' 'n-link-git' 'n-link.bin')
14
replaces=('n-link')
15
options=('!lto')
16
install=nlink-ng.install
17
source=(
18
"git+https://github.com/RyanHakurei/nlink-ng.git#tag=v$pkgver"
19
"69-nlink-ng.rules"
20
)
21
sha256sums=(
22
'SKIP'
23
'10007d13980e1d6a3e92c4e843a908ea58531155bce0583c826940bf64423bec'
24
)
25
26
prepare() {
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
32
build() {
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
44
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-11 15:22:58 | Low | 1 |