[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Sat Dec 28 13:45:06 UTC 2019


    Date: Saturday, December 28, 2019 @ 13:45:06
  Author: jelle
Revision: 543494

add wishbone-tool

Hopefully we will get the full fomu toolchain working

Added:
  wishbone-tool/
  wishbone-tool/repos/
  wishbone-tool/trunk/
  wishbone-tool/trunk/PKGBUILD

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

Added: wishbone-tool/trunk/PKGBUILD
===================================================================
--- wishbone-tool/trunk/PKGBUILD	                        (rev 0)
+++ wishbone-tool/trunk/PKGBUILD	2019-12-28 13:45:06 UTC (rev 543494)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=wishbone-utils
+pkgver=0.4.8
+pkgrel=1
+pkgdesc='Utilities for working with a Wishbone bridge'
+arch=(x86_64)
+url="https://github.com/xobs/wishbone-utils"
+license=(BSD)
+depends=(glibc gcc-libs)
+makedepends=(rust)
+source=($pkgname-$pkgver.tar.gz::https://github.com/xobs/wishbone-utils/archive/v$pkgver.tar.gz)
+sha512sums=('48eb39487da99994831a7329df2bad38116fea1427f3dca6711656a81e22e0caceb996ba7afef703a2fad70fa98247864ef8787d9d9e6ca64c72bf79ec8f67d5')
+
+build() {
+  cd $pkgname-$pkgver/wishbone-tool
+  cargo build --release --locked
+}
+
+check() {
+  cd $pkgname-$pkgver/wishbone-tool
+  cargo test --release --locked
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm 755 wishbone-tool/target/release/wishbone-tool -t "${pkgdir}/usr/bin/"
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list