slate-editor
LOW
maintainer sizzlebop
0 votes
scanned 2026-10-06 08:02:16.298752
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>
2
pkgname=slate-editor
3
_name=slate
4
pkgver=0.7.0
5
pkgrel=1
6
pkgdesc="A fast, minimal text editor for Linux, built with GPUI Kit"
7
arch=('x86_64')
8
url="https://github.com/pinkpixel-dev/slate"
9
license=('Apache-2.0')
10
depends=(
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
)
21
makedepends=('cargo')
22
# Other packages that also install /usr/bin/slate.
23
conflicts=('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.
26
options=('!lto')
27
source=("$_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.
29
sha256sums=('83cd331c52bbc78d29cc671eb5f2628d7bb287bd16bc55ac331929519eca5ecf')
30
31
prepare() {
32
cd "$_name-$pkgver"
33
export RUSTUP_TOOLCHAIN=stable
34
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
35
}
36
37
build() {
38
cd "$_name-$pkgver"
39
export RUSTUP_TOOLCHAIN=stable
40
export CARGO_TARGET_DIR=target
41
cargo build --frozen --release
42
}
43
44
check() {
45
cd "$_name-$pkgver"
46
export RUSTUP_TOOLCHAIN=stable
47
export CARGO_TARGET_DIR=target
48
cargo test --frozen
49
}
50
51
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-06 08:02:16 | Low | 1 |