Skip to content
Snippets Groups Projects
Commit c0b554b9 authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

upgpkg: xh 0.12.0; fix build profile

parent f4c8e7ba
No related branches found
No related tags found
No related merge requests found
# Maintainer: Orhun Parmaksız <orhun@archlinux.org>
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Wesley Moore <wes@wezm.net>
pkgname=xh
pkgver=0.11.0
pkgver=0.12.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=('rust')
makedepends=('cargo')
replaces=('ht-rs' 'ht')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('65bf20e03b98c2720d619dcae750bf504cc76cb6e48129c5cdd98837b4b8268c')
sha256sums=('6ea21c669e891fa6bcc8c8bdcf9f13db32c44bc1cdafd052d1ec34610db9a004')
prepare() {
cd "$pkgname-$pkgver"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked
cargo build --frozen --release
}
check() {
cd "$pkgname-$pkgver"
cargo test --release --locked
cargo test --frozen
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment