vtium

LOW
maintainer aaronsb 0 votes scanned 2026-11-02 22:03:11.184944
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: Aaron Bockelie <aaronsb@gmail.com>
2#
3# vtium built from a release tag, as two packages, the console and its
4# terminfo entry (ADR-1500 D3). The maintainer signs the tag with the PGP
5# key in validpgpkeys, and makepkg checks the tag's signature before it
6# builds. Import the key once: gpg --import keys/pgp/*.asc, or
7# gpg --recv-keys 33F9B54FD2A4B6A4110749B3BA464FC9847A832A.
8# VTIUM_FEATURES in makepkg's environment names the console's features.
9#
10# pkgver is the tag without its v and without the hyphen before a
11# pre-release: v0.1.0-alpha.1 is 0.1.0alpha.1, which pacman sorts before
12# 0.1.0 (vercmp).
13
14pkgbase=vtium
15pkgname=('vtium' 'vtium-terminfo')
16_tag=v0.1.0-alpha.1
17pkgver=0.1.0alpha.1
18pkgrel=1
19pkgdesc='Terminal for the Linux console, drawn through KMS/DRM'
20arch=('x86_64')
21url='https://github.com/vtium/vtium'
22license=('MIT')
23makedepends=('cargo' 'git' 'ncurses' 'libxkbcommon' 'systemd-libs')
24options=('!debug')
25source=("vtium::git+https://github.com/vtium/vtium.git#tag=${_tag}?signed")
26sha256sums=('SKIP')
27validpgpkeys=('33F9B54FD2A4B6A4110749B3BA464FC9847A832A') # Aaron Bockelie <aaronsb@gmail.com>
28
29package_vtium() {
30 depends=('glibc' 'libgcc' 'libxkbcommon' 'systemd-libs' 'vtium-terminfo')
31 optdepends=('kbd: console fonts, which vtium draws when no frit is set'
32 'kmscon-terminfo: the terminfo entry kmscon, for sessions run with term=kmscon')
33 conflicts=('vtium-git')
34 install=vtium.install
35 _package_console
36}
37
38package_vtium-terminfo() {
39 arch=('any')
40 pkgdesc='The terminfo entry xterm-vtium, for sessions in vtium'
41 _package_terminfo
42}
43
44# Everything below is the same in vtium-git/PKGBUILD and vtium/PKGBUILD;
45# aur-publish refuses a package whose copy differs from the other's.
46
47prepare() {
48 cd vtium
49 cargo fetch --locked --target "$(rustc -vV | sed -n 's/^host: //p')"
50}
51
52# vtium's Makefile builds and stages every file the packages ship, so which
53# file goes where lives in vtium's tree (ADR-1500 D1, D3). Each call names
54# the same build: PREFIX=/usr, so the console starts its glyph helper at
55# /usr/bin/vtium-vitrify, the features that VTIUM_FEATURES in makepkg's
56# environment names, such as VTIUM_FEATURES='images logind', and --frozen,
57# because prepare() fetched the crates. So make install in package() finds
58# the build that build() made, and builds nothing again.
59_make() {
60 CARGO_TARGET_DIR=target make -C "$srcdir/vtium" PREFIX=/usr \
61 FEATURES="${VTIUM_FEATURES:-}" CARGO_BUILD_FLAGS=--frozen "$@"
62}
63
64# The console, built with vtium's minspec profile, and its glyph helper.
65build() {
66 _make install-build
67}
68
69# The console, its helper, its units vtium@.service and vtium-getty@.service,
70# the example configuration /etc/vtium/vtium.conf.example, the example udev
71# rules and hwdb fragment, and the license.
72_package_console() {
73 _make install DESTDIR="$pkgdir" PKGNAME="$pkgname"
74}
75
76# vtium's terminfo entry, compiled under its name xterm-vtium, and the
77# license (ADR-1500 D3). No package ships an entry named kmscon: the
78# kmscon-terminfo package keeps that name.
79_package_terminfo() {
80 _make install-terminfo DESTDIR="$pkgdir" PKGNAME="$pkgname"
81}
82

Scan history

Scanned at (UTC)SeverityRules
2026-11-02 22:03:11 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