[arch-commits] Commit in rink/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Thu Oct 31 14:02:13 UTC 2019
Date: Thursday, October 31, 2019 @ 14:02:12
Author: polyzen
Revision: 521086
upgpkg: rink 0.4.5-1
Modified:
rink/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 12:32:15 UTC (rev 521085)
+++ PKGBUILD 2019-10-31 14:02:12 UTC (rev 521086)
@@ -1,7 +1,7 @@
# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
pkgname=rink
-pkgver=0.4.4
+pkgver=0.4.5
pkgrel=1
pkgdesc='Unit conversion tool and library written in rust'
arch=('x86_64')
@@ -9,21 +9,21 @@
license=('GPL3' 'MPL2')
depends=('gcc-libs' 'gmp' 'openssl')
makedepends=('rust')
-source=("$url/archive/v$pkgver/rink-v$pkgver.tar.gz")
-sha512sums=('550e07abe4e774ba27dd786c479d5571838fb4e03d5a094bead00f07c24591199f929410316c60c463970fd923780089fcb12c8dede32207fa06d6f0039c880c')
+source=("rink-$pkgver.tar.gz::https://static.crates.io/crates/rink/rink-$pkgver.crate")
+sha512sums=('8f7da00609a124f043874f0266d96d86f22ce8ff2457e8107b7d5590702dec1c137b01bcb34b7c714ca4218b6bf7bcbbaf0e9a98c814c88630bb9f089c246b0e')
build() {
- cd rink-rs-$pkgver
- cargo build --release
+ cd rink-$pkgver
+ cargo build --release --locked
}
check() {
- cd rink-rs-$pkgver
- cargo test --release
+ cd rink-$pkgver
+ cargo test --release --locked
}
package() {
- cd rink-rs-$pkgver
+ cd rink-$pkgver
install -Dt "$pkgdir"/usr/bin target/release/rink
}
More information about the arch-commits
mailing list