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

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Mar 14 15:17:50 UTC 2020


    Date: Saturday, March 14, 2020 @ 15:17:49
  Author: svenstaro
Revision: 597004

archrelease: copy trunk to community-x86_64

Added:
  hyperfine/repos/community-x86_64/PKGBUILD
    (from rev 597003, hyperfine/trunk/PKGBUILD)
Deleted:
  hyperfine/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-14 15:17:44 UTC (rev 597003)
+++ PKGBUILD	2020-03-14 15:17:49 UTC (rev 597004)
@@ -1,25 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: cauebs <cauebs at pm.me>
-pkgname="hyperfine"
-pkgver=1.9.0
-pkgrel=1
-pkgdesc="A command-line benchmarking tool"
-url="https://github.com/sharkdp/hyperfine"
-arch=("x86_64")
-license=("APACHE" "MIT")
-makedepends=(cargo)
-source=("https://github.com/sharkdp/$pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('c2b1c6b6364b849acad43dc740c693f5b75a1a4649f24f43967a98c59ad9e9f7')
-
-build() {
-    cd "$srcdir/$pkgname-$pkgver"
-    cargo build --release --locked
-}
-package() {
-    cd "$srcdir/$pkgname-$pkgver"
-    # Apache doesn't need to be installed, but because of the dual license
-    # it makes more sense to not exclude it.
-    install -Dm 644 "LICENSE-APACHE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
-    install -Dm 644 "LICENSE-MIT" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-    install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
-}

Copied: hyperfine/repos/community-x86_64/PKGBUILD (from rev 597003, hyperfine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-14 15:17:49 UTC (rev 597004)
@@ -0,0 +1,31 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: cauebs <cauebs at pm.me>
+pkgname=hyperfine
+pkgver=1.9.0
+pkgrel=2
+pkgdesc="A command-line benchmarking tool"
+url="https://github.com/sharkdp/hyperfine"
+arch=("x86_64")
+license=("APACHE" "MIT")
+makedepends=(cargo)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sharkdp/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('c2b1c6b6364b849acad43dc740c693f5b75a1a4649f24f43967a98c59ad9e9f7')
+
+build() {
+    cd "$srcdir/$pkgname-$pkgver"
+    cargo build --release --locked
+}
+
+check() {
+    cd "$srcdir/$pkgname-$pkgver"
+    cargo test --release --locked
+}
+
+package() {
+    cd "$srcdir/$pkgname-$pkgver"
+    # Apache doesn't need to be installed, but because of the dual license
+    # it makes more sense to not exclude it.
+    install -Dm 644 "LICENSE-APACHE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
+    install -Dm 644 "LICENSE-MIT" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+    install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+}



More information about the arch-commits mailing list