[arch-commits] Commit in wishbone-utils/repos (2 files)

Jelle van der Waa jelle at archlinux.org
Sat Dec 28 15:15:28 UTC 2019


    Date: Saturday, December 28, 2019 @ 15:15:27
  Author: jelle
Revision: 543593

archrelease: copy trunk to community-x86_64

Added:
  wishbone-utils/repos/community-x86_64/
  wishbone-utils/repos/community-x86_64/PKGBUILD
    (from rev 543592, wishbone-utils/trunk/PKGBUILD)

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

Copied: wishbone-utils/repos/community-x86_64/PKGBUILD (from rev 543592, wishbone-utils/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-12-28 15:15:27 UTC (rev 543593)
@@ -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