diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 22 insertions, 11 deletions
@@ -1,15 +1,15 @@ pkgbase = grin-wallet pkgdesc = Reference implementation of Grin's wallet. - pkgver = 5.1.0 + pkgver = 5.3.0 pkgrel = 1 url = https://github.com/mimblewimble/grin-wallet arch = i686 arch = x86_64 - license = Apache - makedepends = clang - makedepends = rust + license = Apache-2.0 + makedepends = cargo optdepends = tor: for immediate transactions through Tor anonymizing network - source = grin-wallet-5.1.0.tar.gz::https://github.com/mimblewimble/grin-wallet/archive/v5.1.0.tar.gz - b2sums = b681b173b76d4d4ffbe72321ad568b533fffdcb43f590ac72b1e103c695826b6a09fe237018c5cca0ea3054cd453232c14bf784f104c18be6a878ec7b933d561 + options = !lto + source = grin-wallet-5.3.0.tar.gz::https://github.com/mimblewimble/grin-wallet/archive/v5.3.0.tar.gz + b2sums = 1785645e8a6f14727decdf29ad4ec89ab2b6514e025806be8016cc8604401d699cdfd7b48d5f2b2a3859a02acc54a042d44d55d68a695d6af9bac1d54a542f0a pkgname = grin-wallet @@ -1,20 +1,31 @@ # Maintainer: dllud <dllud riseup net> pkgname=grin-wallet -pkgver=5.1.0 +pkgver=5.3.0 pkgrel=1 pkgdesc="Reference implementation of Grin's wallet." arch=('i686' 'x86_64') url='https://github.com/mimblewimble/grin-wallet' -license=('Apache') +license=('Apache-2.0') optdepends=('tor: for immediate transactions through Tor anonymizing network') -makedepends=('clang' 'rust') +makedepends=('cargo') source=("$pkgname-$pkgver.tar.gz::https://github.com/mimblewimble/grin-wallet/archive/v$pkgver.tar.gz") -b2sums=('b681b173b76d4d4ffbe72321ad568b533fffdcb43f590ac72b1e103c695826b6a09fe237018c5cca0ea3054cd453232c14bf784f104c18be6a878ec7b933d561') +b2sums=('1785645e8a6f14727decdf29ad4ec89ab2b6514e025806be8016cc8604401d699cdfd7b48d5f2b2a3859a02acc54a042d44d55d68a695d6af9bac1d54a542f0a') +options=(!lto) + +prepare() { + cd "${pkgname}-${pkgver}" + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" +} build() { cd "${pkgname}-${pkgver}" - cargo build --release + cargo build --frozen --release --all-features +} + +check() { + cd "${pkgname}-${pkgver}" + cargo test --frozen --all-features } package() { |