slate-editor

LOW
maintainer sizzlebop 0 votes scanned 2026-10-06 08:02:16.298752
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: Pink Pixel <admin@pinkpixel.dev>
2pkgname=slate-editor
3_name=slate
4pkgver=0.7.0
5pkgrel=1
6pkgdesc="A fast, minimal text editor for Linux, built with GPUI Kit"
7arch=('x86_64')
8url="https://github.com/pinkpixel-dev/slate"
9license=('Apache-2.0')
10depends=(
11 'fontconfig'
12 'gcc-libs'
13 'glibc'
14 'libxcb'
15 'libxkbcommon'
16 'libxkbcommon-x11'
17 'vulkan-icd-loader'
18 'wayland'
19 'xdg-desktop-portal'
20)
21makedepends=('cargo')
22# Other packages that also install /usr/bin/slate.
23conflicts=('slate' 'slate-git' 'slate-bin')
24# makepkg's LTO turns the bundled C code (tree-sitter grammars) into GCC
25# bitcode that Rust's linker can't read, so the link fails.
26options=('!lto')
27source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
28# Run `updpkgsums` after the v$pkgver tag is on GitHub to fill this in.
29sha256sums=('83cd331c52bbc78d29cc671eb5f2628d7bb287bd16bc55ac331929519eca5ecf')
30
31prepare() {
32 cd "$_name-$pkgver"
33 export RUSTUP_TOOLCHAIN=stable
34 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
35}
36
37build() {
38 cd "$_name-$pkgver"
39 export RUSTUP_TOOLCHAIN=stable
40 export CARGO_TARGET_DIR=target
41 cargo build --frozen --release
42}
43
44check() {
45 cd "$_name-$pkgver"
46 export RUSTUP_TOOLCHAIN=stable
47 export CARGO_TARGET_DIR=target
48 cargo test --frozen
49}
50
51package() {
52 cd "$_name-$pkgver"
53 install -Dm755 target/release/slate "$pkgdir/usr/bin/slate"
54 install -Dm644 packaging/dev.pinkpixel.Slate.desktop \
55 "$pkgdir/usr/share/applications/dev.pinkpixel.Slate.desktop"
56 install -Dm644 packaging/dev.pinkpixel.Slate.png \
57 "$pkgdir/usr/share/icons/hicolor/512x512/apps/dev.pinkpixel.Slate.png"
58 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
59}
60

Scan history

Scanned at (UTC)SeverityRules
2026-10-06 08:02:16 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