summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1db5773d726703cd1e9b990266cc3f46e12cafcf (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: Lukasz Gasior <lukas.gasior@gmail.com>

pkgname=galleon-prod
_pkgver=0.9.2
pkgver="${_pkgver}b"
pkgrel=1
pkgdesc="A wallet for the Tezos blockchain"
arch=('x86_64')
url="https://github.com/Cryptonomic/Tezori"
depends=('libxss' 'gtk3' 'nss' 'gconf')
source=("https://cryptonomic-wallet.nyc3.digitaloceanspaces.com/release_$pkgver/galleon_$_pkgver-b_amd64.deb")
noextract=('Galleon-0.8.2-b.deb')
license=('GPL3')
md5sums=('eefa74b02086dd768c4d599d0a9fc84f')

prepare() {
    ar x galleon_$_pkgver-b_amd64.deb data.tar.xz
    tar xf data.tar.xz
    rm data.tar.xz
    rm galleon_$_pkgver-b_amd64.deb
}

package() {
    mv opt "${pkgdir}/opt"
    mv usr "${pkgdir}/usr"
    mkdir -p "${pkgdir}/usr/bin"
    ln -s "/opt/Galleon/galleon" "${pkgdir}/usr/bin/galleon-prod"
}