main/logseq: Add version 0.2.10 rev 4

main
earnest ma 2021-07-27 18:34:25 -04:00
parent e5c275aead
commit 6dd840c80e
No known key found for this signature in database
GPG Key ID: 6B361FA81C5FB695
4 changed files with 32 additions and 0 deletions

19
main/logseq/build Normal file
View File

@ -0,0 +1,19 @@
# Maintainer: earnest ma <me@earne.link>
name=logseq
version=0.2.10
rev=4
type=file
url="https://logseq.com"
description="A privacy-first, open-source platform for knowledge management and collaboration"
source="https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.zip"
sha512sums="1afc6031ad6a337402cdfbef63db4cb8be9b6ee532f8631c6ae4fff87e81d1cdb925c817e502d2890999bb417411d13dd4f9bc66a3f4e63f5aad051bdd76a345 logseq-linux-x64-0.2.10.zip"
steps(){
unzip -q logseq-*.zip
install -d $builddir/opt/logseq
cp -r Logseq-linux-x64/* $builddir/opt/logseq/
cin-file Logseq-linux-x64/resources/app/img/logo.png $builddir/usr/share/pixmaps/logseq.png
cin-file logseq.desktop $builddir/usr/share/applications/logseq.desktop
}

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Name=Logseq
Exec=/usr/bin/logseq
Terminal=False
Type=Application
Icon=logseq
StartupWMClass=logseq
Comment=A privacy-first, open-source platform for knowledge management and collaboration
Categories=Office

2
main/logseq/postinst Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/sh
ln -s /opt/logseq/Logseq /usr/bin/logseq

2
main/logseq/postrm Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/sh
rm -f /usr/bin/logseq