summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNriver2023-01-09 16:53:32 +0800
committerNriver2023-01-09 16:53:32 +0800
commit863f30bbed1e2b6697252a1bfaf4e61ca8f07777 (patch)
treedebaef217c4b4ba01052d698abb40b934568b9fd
parentbd3e79d43107ba40507199ee245383cdd2479b1a (diff)
downloadaur-863f30bbed1e2b6697252a1bfaf4e61ca8f07777.tar.gz
fix desktop shortcut
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9e503746c5a7..756387292f6e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = trilium-cn
pkgdesc = Trilium Notes 中文版
pkgver = 0.57.5_20221216
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/Nriver/trilium-translation
arch = x86_64
license = AGPL3
diff --git a/PKGBUILD b/PKGBUILD
index e8ebb696e8a8..4b475b9a7820 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Nriver <6752679+Nriver@users.noreply.github.com>
pkgname="trilium-cn"
pkgver=0.57.5_20221216
-pkgrel=2
+pkgrel=3
pkgdesc="Trilium Notes 中文版"
arch=('x86_64')
url="https://github.com/Nriver/trilium-translation"
@@ -19,7 +19,8 @@ package() {
mv trilium-linux-x64/* "$pkgdir/opt/$pkgname"
# Write command and make executable
echo -e "#!/bin/sh
-/opt/$pkgname/trilium" > "$pkgdir/usr/bin/trilium-cn"
+cd /opt/opt/$pkgname/
+./trilium" > "$pkgdir/usr/bin/trilium-cn"
# Create .desktop file
echo -e "[Desktop Entry]
Name=Trilium 中文版