summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b1fdd25dcf93b11ebddfe1720273f21935b742a (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
# Maintainer: Lucas Betschart <lucasbetschart@gmail.com>
pkgname=digital-bitbox-app
pkgver=0.2.1
pkgrel=1
pkgdesc="A Qt based application for the Digital Bitbox hardware wallet."
arch=('x86_64')
url="https://digitalbitbox.com/"
license=('MIT')
depends=('hidapi' 'curl' 'libevent' 'avahi' 'qrencode' 'qt5-base' 'qt5-tools' 'qt5-websockets')
#install=

source=(https://github.com/digitalbitbox/dbb-app/archive/v$pkgver.tar.gz)
sha256sums=('878fffc3c2fcd3ff3776a9be285606a58fee3eb07f4f4191396736b5ef440f7e')

noextract=()
md5sums=()
validpgpkeys=()

build() {
	cd "dbb-app-$pkgver"
	./autogen.sh
	./configure --prefix=/usr --with-gui=qt5 LDFLAGS="-lpthread"
	make
}

check() {
	cd "dbb-app-$pkgver"
	make -k check
}

package() {
	cd "dbb-app-$pkgver"
	make DESTDIR="$pkgdir/" install
}