oleafly

LOW
maintainer alerque 0 votes scanned 2026-10-06 12:02:18.455551
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=oleafly
4_pkgname=${pkgname^}
5pkgver=0.4.4
6pkgrel=1
7url="https://$pkgname.com"
8_url="https://github.com/$_pkgname/$_pkgname"
9pkgdesc='a local-first AI assisted research workspace for scientific writing & publishing'
10arch=(x86_64)
11license=(MIT)
12depends=(biber
13 cairo
14 dbus
15 gdk-pixbuf2
16 glib2
17 glibc # libc.so libm.so
18 gtk3
19 libgcc
20 libsoup3
21 tectonic
22 pandoc-cli
23 typst
24 tinymist
25 webkit2gtk-4.1)
26makedepends=(cargo
27 cargo-tauri
28 gendesk
29 nodejs-lts-krypton
30 pnpm)
31options=(!lto)
32_archive="$_pkgname-$pkgver"
33source=("$_url/archive/refs/tags/v$pkgver/$_archive.tar.gz")
34sha256sums=('9ec62c9ad4e7dc00f673203e68dafd908d5699c9ecba87c045cf8f4d32dfa2c1')
35
36_srcenv() {
37 cd "$_archive"
38 export CARGO_HOME="$srcdir"
39 export CARGO_PROFILE_RELEASE_DEBUG=2
40 export CARGO_PROFILE_RELEASE_STRIP=false
41 export CARGO_PROFILE_RELEASE_LTO=thin
42 export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
43 export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
44 export CARGO_TARGET_DIR=target
45 export RUSTUP_TOOLCHAIN=stable
46 RUSTFLAGS+=" --remap-path-prefix $PWD=/"
47}
48
49prepare() {
50 gendesk -q -f -n \
51 --pkgname "$pkgname" \
52 --pkgdesc "$pkgdesc" \
53 --exec "$pkgname-desktop" \
54 --custom StartupWMClass="$pkgname"
55 _srcenv
56 pnpm install --frozen-lockfile
57 cargo fetch --locked --target host-tuple
58 mkdir -p src-tauri/binaries
59 pushd src-tauri/binaries
60 ln -sf /usr/bin/vendor_perl/biber "tectonic-biber-$CARCH-unknown-linux-gnu"
61 ln -sf /usr/bin/pandoc "pandoc-$CARCH-unknown-linux-gnu"
62 ln -sf /usr/bin/tectonic "tectonic-$CARCH-unknown-linux-gnu"
63 ln -sf /usr/bin/typst "typst-$CARCH-unknown-linux-gnu"
64}
65
66build() {
67 _srcenv
68 pnpm build
69 cargo-tauri build --no-bundle
70}
71
72package() {
73 depends+=(libcairo.so
74 libdbus-1.so
75 libgcc_s.so
76 libgdk-3.so libgtk-3.so
77 libgdk_pixbuf-2.0.so
78 libgio-2.0.so libglib-2.0.so libgobject-2.0.so
79 libjavascriptcoregtk-4.1.so
80 libsoup-3.0.so
81 libwebkit2gtk-4.1.so)
82 install -Dm0644 -t "$pkgdir/usr/share/applications/" "$pkgname.desktop"
83 cd "$_archive"
84 install -Dm0755 -t "$pkgdir/usr/bin/" "src-tauri/target/release/$pkgname"-{cli,desktop}
85 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
86}
87

Scan history

Scanned at (UTC)SeverityRules
2026-10-06 12:02:18 Low 1
2026-10-06 00:13:36 Clean 2
2026-10-05 23:40:58 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