summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d76b13fbad80ab93d05cf58e55664352844c7d6 (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.1
pkgrel=1
pkgdesc="A complete Google Driveā„¢ desktop client solution for Linux"
arch=('x86_64')
url="https://www.thefanclub.co.za/overgrive"
license=("unknown")
depends=(
    # original overgrive dependencies
    # libnotify python3 python-oauth2client python-pyinotify python-pip python-gobject libappindicator-gtk3
    #
    # I removed python-pip package not to have any global python package that isn't a system package
    libnotify python3 python-oauth2client python-pyinotify python-gobject libappindicator-gtk3
)
provides=("overgrive")
conflicts=("overgrive")
install="overgrive.install"
changelog=
source=(
    "https://www.thefanclub.co.za/sites/default/files/public/overgrive/overgrive-3.3.1-0-any.pkg.tar.xz"
)
noextract=("overgrive-3.3.1-0-any.pkg.tar.xz")
md5sums=("5e42edfb340a7c34785ad04655b1ff39")
prepare() {
    tar --extract --file='./overgrive-3.3.1-0-any.pkg.tar.xz'
    rm -- './overgrive-3.3.1-0-any.pkg.tar.xz'
    sed --in-place -- \
        's+Exec=python3+Exec=/opt/thefanclub/overgrive/venv/bin/python3+g' \
        './usr/share/applications/overgrive.desktop'
}
package() {
    cp --recursive -- './opt/' './usr/' "${pkgdir}/"
}