summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1606c26af47267e4db5ae9e4f02f846e36e1b42a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer Lucas Silva <lcdss[at]live[dot]com>

pkgname=waves-exchange
pkgver=1.0.0
pkgrel=2
pkgdesc="Waves.Exchange is an exchange that combines the advantages of centralized and decentralized digital trading approaches"
url="https://waves.exchange"
license=('MIT')
source=("https://waves.exchange/files/Waves.Exchange.deb")
arch=('x86_64')
md5sums=('1867cef5e7098d6bdcd98944f38938ff')
depends=()

package() {
    bsdtar -O -xf Waves.Exchange.deb data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
    find "${pkgdir}" -type d -exec chmod 755 {} +

    mkdir -p "$pkgdir/usr/bin"
    ln -s "/opt/Waves.Exchange/waves-exchange" "${pkgdir}/usr/bin/waves-exchange"
}