Package Details: google-calendar-nativefier 0.9.1-1

Git Clone URL: (read-only, click to copy)
Package Base: google-calendar-nativefier
Description: Electron wrapper for the Google Calendar web application
Upstream URL:
Licenses: MIT
Submitter: akaessens
Maintainer: akaessens
Last Packager: akaessens
Votes: 4
Popularity: 0.007464
First Submitted: 2019-05-21 15:06
Last Updated: 2020-04-24 20:24

Latest Comments

1 2 Next › Last »

akaessens commented on 2020-04-23 18:03

Hello, there was a nativefier update today that probably broke the name scheme.

Quickest fix is restoring the previous version of nodejs-nativefier. I'll update this package later to match the nativefier update

EDIT: Hello, i could build the PKGBUILD file just fine. Which AUR helper did you use? Can you post the complete build log to pastebin or similar?

EDIT2: Try again with the new package

llabusch93 commented on 2020-04-23 17:44


I get the following error while building:

cp: cannot stat 'google-calendar-linux-*': No such file or directory ==> ERROR: A failure occurred in package(). Aborting...

Any quick fix for this? :)


akaessens commented on 2020-02-01 10:02

Updated the application:


  • fixed build process for new nativefier version

  • fixed google login by using a firefox user agent

  • use electron 7.1.11 instead of the default nativefier 5.x version to fix re-login on every restart

The Google login process with electron is a little tricky, sometimes it gives "cookies disabled" errors, then just try again...

akaessens 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

akaessens 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 ;)

akaessens 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.