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

Orhun Parmaksiz orhun at gemini.archlinux.org
Mon Nov 15 17:11:59 UTC 2021


    Date: Monday, November 15, 2021 @ 17:11:59
  Author: orhun
Revision: 1048343

archrelease: copy trunk to community-x86_64

Added:
  xh/repos/community-x86_64/PKGBUILD
    (from rev 1048342, xh/trunk/PKGBUILD)
Deleted:
  xh/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-15 17:11:49 UTC (rev 1048342)
+++ PKGBUILD	2021-11-15 17:11:59 UTC (rev 1048343)
@@ -1,46 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Wesley Moore <wes at wezm.net>
-
-pkgname=xh
-pkgver=0.13.0
-pkgrel=1
-pkgdesc="Friendly and fast tool for sending HTTP requests"
-arch=('x86_64')
-url="https://github.com/ducaale/xh"
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('cargo')
-replaces=('ht-rs' 'ht')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('d3e46b6db5a131237d5f980ccaae6f04c5ba7b06922d97c7f98f36f03cf581fe')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  cargo build --frozen --release --features native-tls
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  cargo test --frozen --features native-tls
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
-  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
-  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-  install -Dm 644 "doc/$pkgname.1" -t "$pkgdir/usr/share/man/man1"
-  install -Dm 644 "completions/$pkgname.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname"
-  install -Dm 644 "completions/$pkgname.fish" -t "${pkgdir}/usr/share/fish/vendor_completions.d"
-  install -Dm 644 "completions/_$pkgname" -t "${pkgdir}/usr/share/zsh/site-functions"
-  # `xh` will default to HTTPS scheme if the binary name is one of `xhs`, `https`, or `xhttps`
-  ln -s "/usr/bin/$pkgname" "$pkgdir/usr/bin/${pkgname}s"
-}
-
-# vim: ts=2 sw=2 et:

Copied: xh/repos/community-x86_64/PKGBUILD (from rev 1048342, xh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-15 17:11:59 UTC (rev 1048343)
@@ -0,0 +1,46 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Wesley Moore <wes at wezm.net>
+
+pkgname=xh
+pkgver=0.14.0
+pkgrel=1
+pkgdesc="Friendly and fast tool for sending HTTP requests"
+arch=('x86_64')
+url="https://github.com/ducaale/xh"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('cargo')
+replaces=('ht-rs' 'ht')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('6abc32e2fa49a3c7a08379dbe7375735ec7bc8f25c3f29774e275e9dcac42711')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --frozen --release --features native-tls
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --frozen --features native-tls
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm 644 "doc/$pkgname.1" -t "$pkgdir/usr/share/man/man1"
+  install -Dm 644 "completions/$pkgname.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname"
+  install -Dm 644 "completions/$pkgname.fish" -t "${pkgdir}/usr/share/fish/vendor_completions.d"
+  install -Dm 644 "completions/_$pkgname" -t "${pkgdir}/usr/share/zsh/site-functions"
+  # `xh` will default to HTTPS scheme if the binary name is one of `xhs`, `https`, or `xhttps`
+  ln -s "/usr/bin/$pkgname" "$pkgdir/usr/bin/${pkgname}s"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list