summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 441a766fdb36951b4ca7701fb20d9b7196546cd1 (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
# Maintainer: Marcel Pfeiffer <pfeiffer.marcel (a) gmx.de>
# Contributor: XavierCLL <xavier.corredor.llano (a) gmail.com>

pkgname=ryver-desktop
pkgver=1.2.1
pkgrel=2
pkgdesc="Ryver client for Linux - Team communications"
arch=('x86_64')
url="https://ryver.com/"
license=('custom')
depends=('alsa-lib' 'expat' 'gconf' 'gtk2' 'gvfs' 'hunspell' 'libcurl-compat' 'libgcrypt' 'libgnome-keyring' 'libnotify' 'libxss' 'libxtst' 'xdg-utils')
optdepends=('gnome-keyring')
source=("https://d3vkb1nw20iqfq.cloudfront.net/linux/Ryver-1.2.1-linux-x64.tar.gz" "ryver.png" "ryver.desktop")
sha256sums=('55fbc6c8084d13d076688a3079e146fa7b506a0964192fe312dfd5b6df00574c'
            '7aa50868245f75a489eff1c438aec17f51251a07401ef4aee7e7b395e2325377'
            '2ce4f9e27f123a327ed7be69b967e70cec1c4e0752caa39278853d6964f558ad')

package() {
    cd $srcdir/Ryver
    install -dm 755 $pkgdir/opt/$pkgname
    cp -dr --no-preserve=ownership * $pkgdir/opt/$pkgname/

    # Permission fix
    chmod 755 $pkgdir/opt/$pkgname/Ryver

    # app file desktop
    install -dm 755 $pkgdir/usr/share/applications
    install -Dm 644 $srcdir/ryver.png $pkgdir/opt/ryver-desktop/resources/ryver.png
    install -Dm 644 $srcdir/ryver.desktop $pkgdir/usr/share/applications/
}