mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
🔖 chore(aur): update to version 0.22.1-26
This commit is contained in:
parent
19548d5e3b
commit
81b1649625
2 changed files with 12 additions and 2 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = note-gen
|
||||
pkgdesc = A cross-platform Markdown note-taking application with AI integration
|
||||
pkgver = 0.22.1
|
||||
pkgrel = 25
|
||||
pkgrel = 26
|
||||
url = https://github.com/codexu/note-gen
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
|
|
|
|||
12
PKGBUILD
12
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=note-gen
|
||||
_pkgname=note-gen
|
||||
pkgver=0.22.1
|
||||
pkgrel=25
|
||||
pkgrel=26
|
||||
pkgdesc="A cross-platform Markdown note-taking application with AI integration"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/codexu/note-gen"
|
||||
|
|
@ -27,6 +27,11 @@ prepare() {
|
|||
export SQLITE_USE_STATIC=0
|
||||
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||
|
||||
# 优化pkg-config和链接器行为
|
||||
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
|
||||
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
|
||||
export RUSTFLAGS="-L/usr/lib"
|
||||
|
||||
# 安装前端依赖
|
||||
pnpm install --frozen-lockfile
|
||||
}
|
||||
|
|
@ -42,6 +47,11 @@ build() {
|
|||
export SQLITE_USE_STATIC=0
|
||||
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||
|
||||
# 优化pkg-config和链接器行为
|
||||
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
|
||||
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
|
||||
export RUSTFLAGS="-L/usr/lib"
|
||||
|
||||
# 构建前端 (由Tauri的beforeBuildCommand调用)
|
||||
pnpm build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue