diff options
author | Gaetan Bisson | 2018-01-07 15:15:56 -1000 |
---|---|---|
committer | Gaetan Bisson | 2018-01-07 15:15:56 -1000 |
commit | a4fc55266262c34f1953b121e73cf697fb824c15 (patch) | |
tree | bdc0802a5f1cd03b65f1feef27d5254e0d195a71 | |
download | aur-a4fc55266262c34f1953b121e73cf697fb824c15.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5f4a0a802a51 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = google-keep-desktop + pkgdesc = Google Keep packaged as a desktop application + pkgver = 1.7.9 + pkgrel = 1 + url = https://github.com/andrepolischuk/keep + arch = x86_64 + license = unknown + makedepends = nodejs-nativefier + depends = alsa-lib + depends = gconf + depends = gtk2 + depends = libxss + depends = libxtst + depends = nss + +pkgname = google-keep-desktop + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..388f864b0963 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> + +pkgname=google-keep-desktop +_pkgname=keep +pkgver=1.7.9 +pkgrel=1 +pkgdesc='Google Keep packaged as a desktop application' +url='https://github.com/andrepolischuk/keep' +license=('unknown') +arch=('x86_64') +depends=('alsa-lib' 'gconf' 'gtk2' 'libxss' 'libxtst' 'nss') +makedepends=('nodejs-nativefier') + +build() { + cd "${srcdir}" + + nativefier keep.google.com \ + --name 'google-keep' \ + --disable-context-menu \ + --disable-dev-tools \ + --width 700px \ + --height 700px +} + +package() { + cd "${srcdir}" + install -d "${pkgdir}/"{opt,usr/bin} + cp -r google-keep-linux-x64 "${pkgdir}/opt/google-keep" + + cd "${pkgdir}" + ln -s ../../opt/google-keep/google-keep usr/bin/google-keep-desktop +} |