summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 84cbb9a491f096c739c9be43caddbc63178a365e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: goll <adrian.goll+aur[at]gmail>

pkgname=waves-client
pkgver=1.0.28
pkgrel=1
pkgdesc="The official client application for the Waves platform"
arch=('x86_64')
url="https://wavesplatform.com/"
license=('Apache')
depends=('gtk2' 'libxtst' 'libxss' 'gconf' 'nss' 'alsa-lib')
source=("https://wavesplatform.com/files/WavesClient-${pkgver/_/-}-linux.deb")
sha256sums=('b84f28b5bf96983fadb54417fea8ba90be1939700514cb9e5ff7554865cfcfc6')

package() {
    bsdtar -O -xf "WavesClient-${pkgver/_/-}"*.deb data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
    find "${pkgdir}" -type d -exec chmod 755 {} +

    mkdir -p "$pkgdir/usr/bin"
    ln -s "/opt/Waves Client/waves-client" "${pkgdir}/usr/bin/waves-client"
}