summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHarsh Barsaiyan2020-11-27 19:53:56 +0530
committerHarsh Barsaiyan2020-11-27 19:53:56 +0530
commitfab6425468682768f48db88ac56fd039f22dd8f5 (patch)
tree0c026e1151cd349a4cafe559f829bc912c4bf4d6 /PKGBUILD
downloadaur-fab6425468682768f48db88ac56fd039f22dd8f5.tar.gz
Initial release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0d0cc54a858
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Harsh Barsaiyan <hbarsaiyan@gmail.com>
+
+pkgname=('google-docs-online')
+pkgver=1.0
+pkgrel=0
+pkgdesc="With Google Docs, you can write, edit, and collaborate wherever you are."
+url="https://docs.google.com/document/u/0/"
+depends=('jade-application-kit>=3.0.0')
+license=('GPL3' 'CC')
+arch=('any')
+provides=('google-docs-online')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/hbarsaiyan/google-docs-online/archive/$pkgver.tar.gz")
+sha256sums=('SKIP')
+
+package() {
+ cd $pkgname-$pkgver
+ mkdir -p $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/share/{applications,pixmaps}
+ cp launcher.desktop $pkgdir/usr/share/applications/google-docs-online.desktop
+ cp icon.png $pkgdir/usr/share/pixmaps/googledocs.png
+ install -Dm755 googledocs $pkgdir/usr/bin/google-docs-online
+ printf '%s\n' '[bindings]' 'JAK_PREFERRED_BINDING=PyQt5' > $HOME/.config/jak.conf
+ install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+