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 /PKGBUILD | |
download | aur-a4fc55266262c34f1953b121e73cf697fb824c15.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
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 +} |