[arch-commits] Commit in rink/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Wed Jan 16 05:39:00 UTC 2019
Date: Wednesday, January 16, 2019 @ 05:38:59
Author: polyzen
Revision: 423468
upgpkg: rink 0.4.4-1
Modified:
rink/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-16 03:22:28 UTC (rev 423467)
+++ PKGBUILD 2019-01-16 05:38:59 UTC (rev 423468)
@@ -1,9 +1,8 @@
# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-_commit=0db3f4dcd0e7b661c720418bedd88f9e4e6e37b7
pkgname=rink
-pkgver=0.4.3.r8.g0db3f4d
-pkgrel=2
+pkgver=0.4.4
+pkgrel=1
pkgdesc='Unit conversion tool and library written in rust'
arch=('x86_64')
url=https://github.com/tiffany352/rink-rs
@@ -10,21 +9,21 @@
license=('GPL3' 'MPL2')
depends=('gcc-libs' 'gmp' 'openssl')
makedepends=('rust')
-source=("rink-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
-sha512sums=('719299bf3792e3c468679e6bfa910a31eef2ee0a1d78943109992773ab18f9b2e756b5f580c8200db18d9a5ec4872ab3a74a0788d442e526efb1c85a7d686227')
+source=("$url/archive/v$pkgver/rink-v$pkgver.tar.gz")
+sha512sums=('550e07abe4e774ba27dd786c479d5571838fb4e03d5a094bead00f07c24591199f929410316c60c463970fd923780089fcb12c8dede32207fa06d6f0039c880c')
build() {
- cd rink-rs-$_commit
+ cd rink-rs-$pkgver
cargo build --release
}
check() {
- cd rink-rs-$_commit
+ cd rink-rs-$pkgver
cargo test --release
}
package() {
- cd rink-rs-$_commit
+ cd rink-rs-$pkgver
install -Dt "$pkgdir"/usr/bin target/release/rink
}
More information about the arch-commits
mailing list