summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a6d0e34e54b2dd226cbff81ca9d6f250ffe2899 (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
# Maintainer: KafCoppelia <k740677208@gmail.com>

pkgname=grass-desktop-node
pkgver=4.28.2
pkgrel=1
pkgdesc="The Grass Desktop Node is a lightweight standalone application that is designed to run on any desktop. Users of the desktop node are awarded priority network traffic and are able to earn additional rewards for occasional access to the user's bandwidth."
arch=('x86_64')
license=('unknown')
url="https://app.getgrass.io/dashboard/store/item/desktop"
depends=('glibc' 'hicolor-icon-theme' 'gdk-pixbuf2' 'cairo' 'gtk3' 'gcc-libs' 'pango' 'openssl' 'libsoup3' 'glib2' 'webkit2gtk-4.1' 'libappindicator-gtk3')
conflicts=("${pkgname}")
source=("https://files.getgrass.io/file/grass-extension-upgrades/ubuntu-22.04/grass_${pkgver}_amd64.deb")
sha256sums=('9942db71228f408b995531fe79a43c4957c80074c1c51fa122199dd7cada1c78')
options=('!strip')


prepare() {
    cd ${srcdir}
    mkdir grass
    bsdtar -x -f grass_${pkgver}_amd64.deb -C grass/
    rm grass_${pkgver}_amd64.deb
    bsdtar -x -f grass/data.tar.gz -C grass/
    rm grass/data.tar.gz
}


package() {
    cp -ar ${srcdir}/grass/usr ${pkgdir}/
}