Package Details: google-calendar-nativefier 0.6-1

Git Clone URL: (read-only)
Package Base: google-calendar-nativefier
Description: Electron wrapper for the Google Calendar web application
Upstream URL:
Licenses: MIT
Submitter: pinkman
Maintainer: pinkman
Last Packager: pinkman
Votes: 2
Popularity: 0.35
First Submitted: 2019-05-21 15:06
Last Updated: 2019-06-19 19:20

Latest Comments

1 2 Next › Last »

pinkman commented on 2019-06-19 19:23

The below diff fixes directory permissions issues and tidies things a little (e.g. adding a leading _ to the local $instname variable).

Hello, thanks for this, I patched the PKGBUILD with your changes.

jonathon commented on 2019-06-19 18:50

The below diff fixes directory permissions issues and tidies things a little (e.g. adding a leading _ to the local $instname variable).

diff --git a/PKGBUILD b/PKGBUILD
index 2a2cfaa..0f7549a 100644
@@ -1,38 +1,34 @@
-pkgdesc="The Google Calendar app helps you spend less time managing your schedule and more time enjoying it."
-source=("${pkgname}.png" "${pkgname}.desktop")
-makedepends=("nodejs" "npm" "nodejs-nativefier")
-sha256sums=("SKIP" "SKIP")
+pkgdesc="Electron wrapper for the Google Calendar web application"
+        $pkgname.desktop)
+makedepends=(nodejs nodejs-nativefier npm)
+            '05512fbf7028c19cb766ce7c3dff05975670cc2a4bc187928504723b3fee83d9')

 build() {
-    cd "${srcdir}"
     nativefier "" \
-      --icon "${pkgname}.png" \
+      --icon $pkgname.png \
       --maximize \
       --internal-urls "(accounts|calendar)\.google" \
       --name "Google Calendar"

 package() {
-  install -dm644 "$pkgdir/opt/"
-  install -dm644 "$pkgdir/usr/bin"
-  install -dm644 "$pkgdir/usr/share/pixmaps"
-  install -dm644 "$pkgdir/usr/share/applications"
-  install -m644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$instname.desktop"
-  cp -rL "$srcdir/$instname-linux-"* "$pkgdir/opt/$pkgname"
+    install -d "$pkgdir"/opt "$pkgdir"/usr/{bin,share/pixmaps}
+    install -Dm644 $pkgname.desktop "$pkgdir"/usr/share/applications/$_instname.desktop

-  ln -sf "/opt/$pkgname/$instname" "$pkgdir/usr/bin/$instname"
-  ln -sf "/opt/$pkgname/resources/app/icon.png" "$pkgdir/usr/share/pixmaps/$instname.png"
+    cp -rL $_instname-linux-* "$pkgdir"/opt/$pkgname
+    ln -sf /opt/$pkgname/$_instname "$pkgdir"/usr/bin/$_instname
+    ln -sf /opt/$pkgname/resources/app/icon.png "$pkgdir"/usr/share/pixmaps/$_instname.png

-  chmod 777 "$pkgdir/opt/$pkgname/resources/app/nativefier.json"
+    chmod 666 "$pkgdir"/opt/$pkgname/resources/app/nativefier.json

pinkman commented on 2019-06-19 17:46

great, thanks for your testing as well! have a nice day :)

es20490446e commented on 2019-06-19 17:44

All seems to be working perfect now. Many thanks for your help ;)

pinkman commented on 2019-06-19 17:29

Thanks again, this was a problem of the --internal-urls flag. I updated that to open login urls internally and tested by logging out & back in.

Other links (e.g. for appointment locations) will be opened externally.

es20490446e commented on 2019-06-19 16:57

es20490446e commented on 2019-06-19 15:56

Same result. Setting the full icon path in the desktop file works dough.

pinkman commented on 2019-06-19 15:36


This icon isn't available on my machine, but I do not have chrome installed. Please make sure that your icon is updated, this can be done by running

sudo update-desktop-database

es20490446e commented on 2019-06-19 13:22

The desktop file now has:


But the issue is still happening.

I think you can reference internal chrome icons without providing one yourself. What if you set "icon" to the following value? Do you see an icon?


pinkman commented on 2019-06-19 09:49

Thanks, i updated the package using $pkgname for the icon. I hope this helps, please let me know if it doesn't, as I didn't have that issue.

That warnings can be ignored, the permissions should be set correctly in the filesystem.