blink-markdown
LOW
maintainer sachesi
0 votes
scanned 2026-09-18 17:28:51.851564
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: sachesi <xsachesi@pm.me>
2
3
# pkgver and sha256sums are filled in by .github/workflows/aur.yml for each release.
4
pkgname=blink-markdown
5
_name=blink
6
pkgver=0.7.0
7
pkgrel=1
8
pkgdesc='A Markdown editor with a live preview, for GNOME'
9
arch=('x86_64' 'aarch64')
10
url='https://github.com/sachesi/blink'
11
# The KaTeX fonts math is typeset with are built into the binary.
12
license=('GPL-3.0-or-later' 'OFL-1.1')
13
depends=('gtk4>=1:4.20' 'libadwaita>=1:1.8' 'gtksourceview5' 'glib2' 'cairo' 'pango'
14
'gdk-pixbuf2' 'graphene' 'hicolor-icon-theme' 'libgcc' 'glibc')
15
makedepends=('cargo' 'blueprint-compiler' 'just' 'gettext')
16
conflicts=('blink')
17
source=("$_name-$pkgver.tar.gz::$url/archive/v$pkgver/$_name-$pkgver.tar.gz")
18
sha256sums=('fa074964cc3aa8ce4bb797f30cf37ac889a327e1f92cdb6195e1cd111c79044d')
19
20
prepare() {
21
cd "$_name-$pkgver"
22
export RUSTUP_TOOLCHAIN=stable
23
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
24
}
25
26
build() {
27
cd "$_name-$pkgver"
28
export RUSTUP_TOOLCHAIN=stable
29
export CARGO_TARGET_DIR=target
30
export BLINK_LOCALEDIR=/usr/share/locale
31
cargo build --frozen --release
32
}
33
34
check() {
35
cd "$_name-$pkgver"
36
export RUSTUP_TOOLCHAIN=stable
37
export CARGO_TARGET_DIR=target
38
cargo test --frozen
39
}
40
41
package() {
42
cd "$_name-$pkgver"
43
DESTDIR="$pkgdir" just prefix=/usr install
44
# The install recipe refreshes the caches even when staged; pacman's hooks own them.
45
rm -f "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled" \
46
"$pkgdir/usr/share/applications/mimeinfo.cache" \
47
"$pkgdir/usr/share/icons/hicolor/icon-theme.cache"
48
}
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-18 17:28:51 | Low | 1 |