fomalhaut-theme-nocturne
LOW
maintainer fu050409
0 votes
scanned 2026-08-19 15:42:02.122486
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
5
pkgname=fomalhaut-theme-nocturne
6
_upstream_name=fomalhaut
7
_upstream_ver=0.0.2
8
_source_ref=96a7b5785c540050484f09f3bf4b8f6a486a542c
9
pkgver=0.0.2
10
pkgrel=1
11
pkgdesc='Official Nocturne theme for Fomalhaut'
12
arch=('any')
13
url='https://github.com/noctisynth/fomalhaut'
14
license=('AGPL-3.0-only')
15
optdepends=(
16
'greetd-fomalhaut: use Nocturne as the greeter theme'
17
'fomalhaut-lock: use Nocturne as the locker theme'
18
)
19
makedepends=('npm')
20
source=("${_upstream_name}-${_source_ref}.tar.gz::${url}/archive/${_source_ref}.tar.gz")
21
sha256sums=('eeff7bbc8c5a34b9d82c878e2c580c223988de0a56b970987b0db2c8275147a6')
22
23
_source_dir="${_upstream_name}-${_source_ref}"
24
25
prepare() {
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
33
build() {
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
42
check() {
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
51
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-19 15:42:02 | Low | 1 |