This commit is contained in:
2023-04-12 22:48:42 +03:00
parent c8909b249b
commit 925679b579
2 changed files with 1 additions and 1 deletions

View File

@ -0,0 +1,15 @@
[Desktop Entry]
Name=Logseq
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
Exec=/usr/bin/logseq --enable-features=UseOzonePlatform --ozone-platform=wayland %U
else
Exec=/usr/bin/logseq %U
fi
MimeType=x-scheme-handler/logseq
Terminal=false
Type=Application
Icon=logseq
StartupWMClass=logseq
Comment=Open Source platform for knowledge sharing and management
Categories=Office

23
logseq-desktop/lure.sh Normal file
View File

@ -0,0 +1,23 @@
name='logseq-desktop'
version='0.9.2'
release='1'
desc='A privacy-first, open-source platform for knowledge management and collaboration'
homepage='https://logseq.com/'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
architectures=('amd64')
license=('AGPL-3.0 license')
provides=('logseq')
conflicts=('logseq')
sources=("https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.zip")
checksums=('SKIP')
package() {
cd "${srcdir}/Logseq-linux-x64"
install -Dm644 "${scriptdir}/logseq-desktop.desktop" "${pkgdir}/usr/share/applications/logseq-desktop.desktop"
install -Dm644 "${srcdir}/Logseq-linux-x64/resources/app/icons/logseq.png" "${pkgdir}/usr/share/pixmaps/logseq.png"
install -d ${pkgdir}/opt/logseq
cp -r "${srcdir}/Logseq-linux-x64" "${pkgdir}/opt/logseq"
install -d "${pkgdir}/usr/bin"
ln -s "/opt/logseq/Logseq-linux-x64/Logseq" "${pkgdir}/usr/bin/logseq"
}