fomalhaut-theme-nocturne

LOW
maintainer fu050409 0 votes scanned 2026-08-19 15:42:02.122486
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: 苏向夜 <fu050409@163.com>
2# SPDX-FileCopyrightText: 2026 Fomalhaut contributors
3# SPDX-License-Identifier: 0BSD
4
5pkgname=fomalhaut-theme-nocturne
6_upstream_name=fomalhaut
7_upstream_ver=0.0.2
8_source_ref=96a7b5785c540050484f09f3bf4b8f6a486a542c
9pkgver=0.0.2
10pkgrel=1
11pkgdesc='Official Nocturne theme for Fomalhaut'
12arch=('any')
13url='https://github.com/noctisynth/fomalhaut'
14license=('AGPL-3.0-only')
15optdepends=(
16 'greetd-fomalhaut: use Nocturne as the greeter theme'
17 'fomalhaut-lock: use Nocturne as the locker theme'
18)
19makedepends=('npm')
20source=("${_upstream_name}-${_source_ref}.tar.gz::${url}/archive/${_source_ref}.tar.gz")
21sha256sums=('eeff7bbc8c5a34b9d82c878e2c580c223988de0a56b970987b0db2c8275147a6')
22
23_source_dir="${_upstream_name}-${_source_ref}"
24
25prepare() {
26 cd "${_source_dir}"
27 cp packaging/aur/fomalhaut-theme-nocturne/package.json package.json
28 cp packaging/aur/fomalhaut-theme-nocturne/package-lock.json package-lock.json
29 npm ci --ignore-scripts --legacy-peer-deps
30 ln -s ../packages/fomalhaut-sdk node_modules/fomalhaut-sdk
31}
32
33build() {
34 cd "${_source_dir}"
35 node_modules/.bin/tsc --project packages/fomalhaut-sdk/tsconfig.json
36 cd themes/nocturne
37 ../../node_modules/.bin/tsc --build
38 ../../node_modules/.bin/vite build --config vite-config.ts
39 node scripts/verify-build.mjs
40}
41
42check() {
43 cd "${_source_dir}"
44 cd themes/nocturne
45 ../../node_modules/.bin/biome check .
46 ../../node_modules/.bin/tsc --build --pretty false
47 node scripts/check-file-names.mjs
48 ../../node_modules/.bin/vitest run --config vite-config.ts
49}
50
51package() {
52 cd "${_source_dir}"
53
54 install -d "${pkgdir}/usr/share/fomalhaut/themes/nocturne"
55 cp -r themes/nocturne/dist/. \
56 "${pkgdir}/usr/share/fomalhaut/themes/nocturne/"
57 find "${pkgdir}/usr/share/fomalhaut/themes/nocturne" -type d -exec chmod 0755 {} +
58 find "${pkgdir}/usr/share/fomalhaut/themes/nocturne" -type f -exec chmod 0644 {} +
59 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
60}
61

Scan history

Scanned at (UTC)SeverityRules
2026-08-19 15:42:02 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