summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Aranguren2020-11-15 20:36:05 +1100
committerLuis Aranguren2020-11-15 20:36:05 +1100
commit2e260a25ca917a5a16e7fb4c98d46ac5f8bb29bf (patch)
tree89b237f04184697a21a32acf21424b8ca1574193
parent7c9a9d4e6df11e36f6c8ca3f3a2a454090f58392 (diff)
downloadaur-2e260a25ca917a5a16e7fb4c98d46ac5f8bb29bf.tar.gz
5.0.0, version correction
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8225b9c7597..ae0d615bb04 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-bitbox02
pkgdesc = Python code to communicate with BitBox02 cryptocurrency wallet
- pkgver = 9.2.1
+ pkgver = 5.0.0
pkgrel = 1
url = https://github.com/digitalbitbox/bitbox02-firmware
arch = any
@@ -14,8 +14,8 @@ pkgbase = python-bitbox02
depends = python-semver
depends = python-noiseprotocol-git
options = !emptydirs
- source = bitbox02-firmware-firmware-btc-only-v9.2.1::https://github.com/digitalbitbox/bitbox02-firmware/archive/firmware-btc-only/v9.2.1.tar.gz
- sha256sums = 0036a13b114760adc1fdb719cc97033a9dabe44f1a713e120ded4a917d905a2a
+ source = https://github.com/digitalbitbox/bitbox02-firmware/archive/py-bitbox02-5.0.0.tar.gz
+ sha256sums = 90497a73a90307178470f9f36e8bfdb5b79ef103c2ae5ca7db332472a55ab7ba
pkgname = python-bitbox02
diff --git a/PKGBUILD b/PKGBUILD
index 6d4ec12e84a..b206fbaeffd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
pkgname=python-bitbox02
-_pkgname=bitbox02-firmware-firmware-btc-only
-pkgver=9.2.1
+_pkgname=py-bitbox02
+_gitname=bitbox02-firmware-py-bitbox02
+pkgver=5.0.0
pkgrel=1
pkgdesc="Python code to communicate with BitBox02 cryptocurrency wallet"
arch=('any')
@@ -11,16 +12,16 @@ makedepends=()
url="https://github.com/digitalbitbox/bitbox02-firmware"
license=('Apache')
options=('!emptydirs')
-source=($_pkgname-v$pkgver::https://github.com/digitalbitbox/bitbox02-firmware/archive/firmware-btc-only/v$pkgver.tar.gz)
-sha256sums=('0036a13b114760adc1fdb719cc97033a9dabe44f1a713e120ded4a917d905a2a')
+source=(https://github.com/digitalbitbox/bitbox02-firmware/archive/$_pkgname-$pkgver.tar.gz)
+sha256sums=('90497a73a90307178470f9f36e8bfdb5b79ef103c2ae5ca7db332472a55ab7ba')
build() {
- cd "$srcdir/$_pkgname-v$pkgver/py/bitbox02"
+ cd "$srcdir/$_gitname-$pkgver/py/bitbox02"
python setup.py build
}
package() {
- cd "$srcdir/$_pkgname-v$pkgver/py/bitbox02"
+ cd "$srcdir/$_gitname-$pkgver/py/bitbox02"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}