[arch-commits] Commit in rink/repos (community-x86_64 community-x86_64/PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Fri Dec 28 01:45:58 UTC 2018


    Date: Friday, December 28, 2018 @ 01:45:57
  Author: polyzen
Revision: 418587

archrelease: copy trunk to community-x86_64

Added:
  rink/repos/community-x86_64/
  rink/repos/community-x86_64/PKGBUILD
    (from rev 418586, rink/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: rink/repos/community-x86_64/PKGBUILD (from rev 418586, rink/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-12-28 01:45:57 UTC (rev 418587)
@@ -0,0 +1,31 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_commit=0db3f4dcd0e7b661c720418bedd88f9e4e6e37b7
+pkgname=rink
+pkgver=0.4.3.r8.g0db3f4d
+pkgrel=2
+pkgdesc='Unit conversion tool and library written in rust'
+arch=('x86_64')
+url=https://github.com/tiffany352/rink-rs
+license=('GPL3' 'MPL2')
+depends=('gcc-libs' 'gmp' 'openssl')
+makedepends=('rust')
+source=("rink-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
+sha512sums=('719299bf3792e3c468679e6bfa910a31eef2ee0a1d78943109992773ab18f9b2e756b5f580c8200db18d9a5ec4872ab3a74a0788d442e526efb1c85a7d686227')
+
+build() {
+  cd rink-rs-$_commit
+  cargo build --release
+}
+
+check() {
+  cd rink-rs-$_commit
+  cargo test --release
+}
+
+package() {
+  cd rink-rs-$_commit
+  install -Dt "$pkgdir"/usr/bin target/release/rink
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list