wordcraft-git

LOW
maintainer alerque 0 votes scanned 2026-10-07 14:05:47.471701
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: Caleb Maclennan <caleb@alerque.com>
2
3pkgname=wordcraft-git
4_pkgname=${pkgname%-git}
5pkgver=0.0.0
6pkgrel=1
7url="https://getartcraft.com/apps/$_pkgname"
8_url="https://github.com/storytold/$_pkgname"
9pkgdesc='vibe coded clean-room reimplementation of Microsoft Word'
10arch=(x86_64)
11license=(MIT Apache-2.0)
12depends=(glibc # libc.so libm.so
13 hicolor-icon-theme
14 libgcc
15 libxkbcommon
16 vulkan-icd-loader
17 wayland)
18makedepends=(cargo
19 git)
20provides=("$_pkgname=$pkgver")
21conflicts=("$_pkgname")
22source=("git+$_url.git")
23sha256sums=('SKIP')
24
25_srcenv() {
26 cd "$_pkgname"
27 export CARGO_HOME="$srcdir"
28 export CARGO_PROFILE_RELEASE_DEBUG=2
29 export CARGO_PROFILE_RELEASE_STRIP=false
30 export CARGO_PROFILE_RELEASE_LTO=thin
31 export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
32 export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
33 export CARGO_TARGET_DIR=target
34 export RUSTUP_TOOLCHAIN=stable
35 CFLAGS+=' -fno-lto'
36}
37
38_icons=(512 256 128 64 48 32 16)
39
40prepare() {
41 _srcenv
42 cargo fetch --locked --target host-tuple
43}
44
45pkgver() {
46 cd "$_pkgname"
47 git describe --long --tags --abbrev=7 --match="v*" HEAD |
48 sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
49}
50
51build() {
52 _srcenv
53 cargo build --frozen --release
54}
55
56package() {
57 depends+=(libgcc_s.so)
58 cd "$_pkgname"
59 install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$_pkgname"{,-cli}
60 install -Dm0644 -t "$pkgdir/usr/share/applications/" "packaging/linux/ai.storyteller.$_pkgname.desktop"
61 install -Dm0644 -t "$pkgdir/usr/share/mime/packages/" "packaging/linux/ai.storyteller.$_pkgname.mime.xml"
62 install -Dm0644 -t "$pkgdir/usr/share/icons/hicolor/scalable/" assets/app-icon/hicolor/scalable/apps/ai.storyteller.$_pkgname.svg
63 for s in ${_icons[@]}; do
64 local dim="${s}x${s}"
65 install -Dm0644 -t "$pkgdir/usr/share/icons/hicolor/$dim/apps/" assets/app-icon/hicolor/$dim/apps/ai.storyteller.$_pkgname.png
66 done
67 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-{APACHE,MIT}
68}
69

Scan history

Scanned at (UTC)SeverityRules
2026-10-07 14:05:47 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