logseq
This commit is contained in:
15
logseq-desktop/logseq-desktop.desktop
Normal file
15
logseq-desktop/logseq-desktop.desktop
Normal 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
23
logseq-desktop/lure.sh
Normal 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"
|
||||
}
|
Reference in New Issue
Block a user