summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 65114466d961060ba46e520ef736a35bacc02325 (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
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Jaco Malan <jacom@codelog.co.za>
pkgname=unstoppableswap-gui-bin
pkgver=0.6.3
pkgrel=1
epoch=
pkgdesc="Graphical User Interface for trustless cross-chain XMR<>BTC Atomic Swaps."
arch=('x86_64')
url="https://unstoppableswap.net/"
license=('MIT')
groups=()
depends=('gtk3' 'nss' 'at-spi2-core' 'pango' 'glibc' 'expat' 'libxfixes' 'libxkbcommon' 'glib2' 'bash' 'cairo' 'libxext' 
  'dbus' 'python' 'alsa-lib' 'libxrandr' 'lib32-glibc' 'java-runtime' 'lib32-openssl-1.1' 'gcc-libs' 'nspr' 'make' 
  'gdk-pixbuf2' 'libxcomposite' 'libcups' 'hicolor-icon-theme' 'lib32-gcc-libs' 'libxdamage' 'libx11' 'libxcb' 'libdrm' 
  'mesa' 'lib32-zlib')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/UnstoppableSwap/unstoppableswap-gui/releases/download/v${pkgver}/unstoppableswap-gui_${pkgver}_amd64.deb")
noextract=("unstoppableswap-gui_${pkgver}_amd64.deb")
sha256sums=('90ee89be416b758afc5a2802368cdc06d58d56891b095431d6c5abab0058f6c0')
validpgpkeys=()

prepare() {
  cd "$srcdir"
  ar p unstoppableswap-gui_${pkgver}_amd64.deb data.tar.xz | tar Jx
}

package() {
  cp -r "$srcdir/opt" "$pkgdir"
  cp -r "$srcdir/usr" "$pkgdir"
  mkdir -p "$pkgdir/usr/bin"
  ln -sf "/opt/UnstoppableSwap/unstoppableswap-gui" "$pkgdir/usr/bin/unstoppableswap-gui"
  chmod 4755 "$pkgdir/opt/UnstoppableSwap/chrome-sandbox"
}