Package Details: notion-app 2.0.18-1

Git Clone URL: https://aur.archlinux.org/notion-app.git (read-only, click to copy)
Package Base: notion-app
Description: The all-in-one workspace for your notes and tasks
Upstream URL: https://github.com/notion-enhancer/notion-repackaged
Keywords: kanban markdown notes notion task
Licenses: MIT
Conflicts: notion-app
Provides: notion-app
Submitter: pat-s
Maintainer: jamezrin
Last Packager: jamezrin
Votes: 65
Popularity: 0.61
First Submitted: 2019-02-27 14:00 (UTC)
Last Updated: 2021-12-31 15:34 (UTC)

Pinned Comments

jamezrin commented on 2021-05-29 12:35 (UTC) (edited on 2021-12-26 21:39 (UTC) by jamezrin)

How to use Notion Enhancer:

For anyone wanting to use notion-enhancer, I highly recommend using https://aur.archlinux.org/packages/notion-app-enhanced/ instead.

notion-app-enhanced is built on top off this (notion-app) package and has notion-enhancer embedded in the final package. It doesn't require any manual steps to use.

How to fix weird Emoji characters:

Please, take a look at the following blog post: https://pat-s.me/emoji-support-for-notion-so-on-linux/

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14

pat-s commented on 2019-04-07 12:41 (UTC) (edited on 2020-01-15 10:20 (UTC) by pat-s)

If you are missing emoji support, take a look here: https://pat-s.me/post/emoji-support-for-notion-so-on-linux/

pat-s commented on 2019-04-06 18:33 (UTC)

I fixed the icon issue.

nit commented on 2019-03-25 21:17 (UTC)

I did a fresh install and there is no icon.

pat-s commented on 2019-03-20 21:41 (UTC)

Thanks, I included your changes.

kbumsik commented on 2019-03-20 03:43 (UTC) (edited on 2019-03-20 03:44 (UTC) by kbumsik)

Hi I fixed PKGBUILD to generate a desktop entry file for a better desktop integration. Could you accept this patch?

From 7e212ea52d9987fe6ca0549fa8b89c44c121d1e2 Mon Sep 17 00:00:00 2001
From: Bumsik Kim <k.bumsik@gmail.com>
Date: Wed, 20 Mar 2019 12:36:35 +0900
Subject: Added .desktop entries

---
 .SRCINFO | 2 ++
 PKGBUILD | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.SRCINFO b/.SRCINFO
index 325da6e..8c8a0d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,6 +8,8 @@ pkgbase = notion-app
        license = MIT
        makedepends = dmg2img
        makedepends = p7zip
+       makedepends = libicns
+       makedepends = gendesk
        depends = electron
        source = https://desktop-release.notion-static.com/Notion-1.0.5.dmg
        source = notion-app
diff --git a/PKGBUILD b/PKGBUILD
index 9ee06cb..842cfe2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
 url="https://www.notion.so/desktop"
 license=('MIT')
 depends=('electron')
-makedepends=('dmg2img' 'p7zip')
+makedepends=('dmg2img' 'p7zip' 'libicns' 'gendesk')
 source=("https://desktop-release.notion-static.com/Notion-"${pkgver}".dmg" 'notion-app')
 md5sums=('e742641e62819e7ffe48c5cae09c4ee1'
          'c6e87309eebe3dfdd206e4c399fffebb')
@@ -22,6 +22,8 @@ build() {
   7z x -y "Notion-"${pkgver}".img" >/dev/null
   cp -r Notion**/Notion.app/Contents/Resources/* tmp/build
   cp notion-app tmp/build
+  icns2png -x tmp/build/Notion.icns
+  gendesk -f --pkgname="Notion" --pkgdesc="$pkgdesc" --categories=Office --exec=notion-app --icon=/opt/notion-app/Notion_512x512x32.png
 }

 package() {
@@ -29,5 +31,6 @@ package() {
   mkdir -p "$pkgdir/usr/bin" "$pkgdir/opt/notion-app"
   cp -r tmp/build/* "$pkgdir/opt/notion-app/"
   install -D -m755 notion-app "$pkgdir/usr/bin/notion-app"
+  install -Dm644 "$srcdir"/Notion.desktop -t "$pkgdir"/usr/share/applications
 }

--