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

Orhun Parmaksiz orhun at archlinux.org
Thu Mar 18 18:06:48 UTC 2021


    Date: Thursday, March 18, 2021 @ 18:06:47
  Author: orhun
Revision: 894457

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-18 18:06:08 UTC (rev 894456)
+++ PKGBUILD	2021-03-18 18:06:47 UTC (rev 894457)
@@ -1,40 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Wesley Moore <wes at wezm.net>
-
-pkgname=xh
-pkgver=0.9.0
-pkgrel=1
-pkgdesc="Yet another HTTPie clone"
-arch=('x86_64')
-url="https://github.com/ducaale/xh"
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('rust')
-replaces=('ht-rs' 'ht')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('b9a9386b552f527796f088b5d38effba8fd01c1dcb457cfd5bbfef23ec8c424f')
-
-build() {
-  cd "$pkgname-$pkgver"
-  cargo build --release --locked
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  cargo test --release --locked
-}
-
-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 894456, xh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-18 18:06:47 UTC (rev 894457)
@@ -0,0 +1,40 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: Wesley Moore <wes at wezm.net>
+
+pkgname=xh
+pkgver=0.9.1
+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=('rust')
+replaces=('ht-rs' 'ht')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('b0cd92b428094286688214fde316e0b9bb668c184989a4a0ec25b5ffae2cccd4')
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --release --locked
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --release --locked
+}
+
+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