summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 950968e9cb62f78bc8135935114c4026d65faa04 (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
26
27
28
29
30
31
32
33
34
# Maintainer: Pedro Henrique <pedro00dk@gmail.com>
pkgname=overgrive
pkgver=3.3.2
pkgrel=1
pkgdesc='A complete Google Driveā„¢ desktop client solution for Linux'
arch=('x86_64')
url='https://www.thefanclub.co.za/overgrive'
license=('unknown')

# original overgrive dependencies
# libnotify python python-oauth2client python-pyinotify python-pip python-gobject libappindicator-gtk3
depends=(libappindicator-gtk3 libnotify python python-gobject python-oauth2client python-pyinotify)

provides=('overgrive')
conflicts=('overgrive')
install='overgrive.install'
changelog=

source=('https://www.thefanclub.co.za/sites/default/files/public/overgrive/overgrive-3.3.2-0-any.pkg.tar.xz')
noextract=('overgrive-3.3.2-0-any.pkg.tar.xz')
md5sums=('e33e8990b637ecbacea36f5a8ea23b7c')

prepare() {
    tar --extract --file='./overgrive-3.3.2-0-any.pkg.tar.xz'
    rm -- './overgrive-3.3.2-0-any.pkg.tar.xz'
    sed --in-place -- \
        's+Exec=python3+Exec=/opt/thefanclub/overgrive/venv/bin/python3+g' \
        './usr/share/applications/overgrive.desktop' \
        './opt/thefanclub/overgrive/overgrive-autostart.desktop'
}

package() {
    cp --recursive -- './opt/' './usr/' "${pkgdir}/"
}