vtium-terminfo
LOW
maintainer aaronsb
0 votes
base
vtium
scanned 2026-11-02 22:03:11.184944
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
14
pkgbase=vtium
15
pkgname=('vtium' 'vtium-terminfo')
16
_tag=v0.1.0-alpha.1
17
pkgver=0.1.0alpha.1
18
pkgrel=1
19
pkgdesc='Terminal for the Linux console, drawn through KMS/DRM'
20
arch=('x86_64')
21
url='https://github.com/vtium/vtium'
22
license=('MIT')
23
makedepends=('cargo' 'git' 'ncurses' 'libxkbcommon' 'systemd-libs')
24
options=('!debug')
25
source=("vtium::git+https://github.com/vtium/vtium.git#tag=${_tag}?signed")
26
sha256sums=('SKIP')
27
validpgpkeys=('33F9B54FD2A4B6A4110749B3BA464FC9847A832A') # Aaron Bockelie <aaronsb@gmail.com>
28
29
package_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
38
package_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
47
prepare() {
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.
65
build() {
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) | Severity | Rules |
|---|---|---|
| 2026-11-02 22:03:11 | Low | 1 |