logseq-desktop-wayland

This commit is contained in:
2023-03-13 20:53:00 +03:00
parent dfafe34c55
commit 3e34b43798
3 changed files with 35 additions and 25 deletions

View File

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

View File

@ -0,0 +1,25 @@
name='logseq-desktop-wayland-bin'
version='0.8.18'
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')
build_deps=('yarn')
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/${pkgname}
cp -r "${srcdir}/Logseq-linux-x64/*" "${pkgdir}/opt/${name}/"
install -d "${pkgdir}/usr/bin"
ln -s "/opt/${name}/Logseq "${pkgdir}/usr/bin/logseq"
}

View File

@ -1,25 +0,0 @@
name='logseq'
version='0.8.18'
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')
build_deps=('yarn')
sources=("git+https://github.com/logseq/logseq.git")
checksums=('SKIP')
build() {
cd "${srcdir}/logseq/"
yarn install
}
package() {
install -Dm755 ./${name}v${version}/ "${pkgdir}/usr/bin/"
install -Dm644 "${srcdir}/" "${pkgdir}/usr/lib/"
}