Date: Wednesday, November 9, 2022 @ 10:11:10
  Author: alerque
Revision: 1346136

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-09 08:36:56 UTC (rev 1346135)
+++ PKGBUILD    2022-11-09 10:11:10 UTC (rev 1346136)
@@ -1,47 +0,0 @@
-# Maintainer: Orhun Parmaksız <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Wesley Moore <[email protected]>
-
-pkgname=xh
-pkgver=0.16.1
-pkgrel=2
-pkgdesc="Friendly and fast tool for sending HTTP requests"
-arch=('x86_64')
-url="https://github.com/ducaale/xh";
-license=('MIT')
-depends=('gcc-libs' 'openssl')
-makedepends=('cargo')
-replaces=('ht-rs' 'ht')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('c1fd4f33be96ba1c19580fc66dd9d059a716f00f532a516e159ce9342e50cd43')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  CFLAGS+=" -ffat-lto-objects"
-  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 1346135, xh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-09 10:11:10 UTC (rev 1346136)
@@ -0,0 +1,47 @@
+# Maintainer: Orhun Parmaksız <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Wesley Moore <[email protected]>
+
+pkgname=xh
+pkgver=0.17.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' 'openssl')
+makedepends=('cargo')
+replaces=('ht-rs' 'ht')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('31a944b1932fb785a191932944ff662a33ad99724cb5bc260acdaf821fb2e088')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  CFLAGS+=" -ffat-lto-objects"
+  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:

Reply via email to