summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2638edcb779219cec8201d9b2330cbfc11038d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Harsh Barsaiyan <hbarsaiyan@gmail.com>

pkgname=('google-docs-online')
pkgver=1.0
pkgrel=1
pkgdesc="A launcher made using JAK to display Google Docs as native applications"
url="https://github.com/hbarsaiyan/google-docs-online"
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"
}