blob: bd38540f5ec683ecd354b971fd6ceb19d96fd6b8 (
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
|
# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
pkgname=python-ckcc-protocol
_pkgname=ckcc-protocol
pkgver=1.4.0
pkgrel=2
pkgdesc="Python code and command utilities to communicate with coldcard cryptocurrency wallet"
arch=('any')
depends=(python python-hidapi python-click python-pyaes python-ecdsa)
makedepends=(python-setuptools)
url="https://github.com/Coldcard/ckcc-protocol"
license=('custom')
options=('!emptydirs')
source=($pkgname-$pkgver.tar.gz::https://github.com/Coldcard/ckcc-protocol/archive/v$pkgver.tar.gz)
sha256sums=('d796c2def024be7b78fb70cba889dc8b1d3605a4a6dcd28b28620ed1ee7b1e7c')
build() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm0644 51-coinkite.rules "${pkgdir}/usr/lib/udev/rules.d/51-coinkite.rules"
install -Dm644 COPYING-CC "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|