blob: 11b992a49823f9c58a0b52b95e8aef547cd14f42 (
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
|
# Maintainer: David Parrish <daveparrish@tutanota.com>
pkgname=bitsquare-bin
pkgver=0.4.9.4
pkgrel=1
pkgdesc="Cross-platform desktop application that allows users to trade national currency (dollars, euros, etc) for bitcoin without relying on centralized exchanges"
arch=('x86_64')
url="https://bitsquare.io/"
license=('AGPL3')
source_x86_64=("https://github.com/bitsquare/bitsquare/releases/download/v${pkgver}/Bitsquare-64bit-${pkgver}.deb")
md5sums_x86_64=('a1002de2da7df220bb1fa4238c05e15c')
_binname=Bitsquare
prepare() {
tar -Jxvf data.tar.xz
}
package() {
install -d "$pkgdir"/{opt/,usr/bin/,usr/share/applications,/usr/share/pixmaps,/usr/share/licenses/bitsquare}
# Install all .deb files into /opt.
cp -r "$srcdir/opt" "$pkgdir"
# Symlink some files to complete install.
ln -s "/opt/$_binname/$_binname" "$pkgdir/usr/bin/bitsquare"
ln -s "/opt/$_binname/${_binname}.desktop" "${pkgdir}/usr/share/applications/bitsquare.desktop"
ln -s "/opt/$_binname/${_binname}.png" "${pkgdir}/usr/share/pixmaps/bitsquare.png"
}
|