blob: 17c53cf4111922377759ed9fc326cce7c1a38fb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: haxibami <contact at haxibami dot net>
pkgname=pipes-rs
pkgver=1.6.3
pkgrel=2
pkgdesc="An over-engineered rewrite of pipes.sh in Rust"
arch=('any')
url="https://github.com/lhvy/pipes-rs"
license=("BlueOak-1.0.0")
makedepends=('cargo')
source=(
"https://github.com/lhvy/pipes-rs/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=('ac7452f5b29e83bea6da14d37cf37efcf0a7c90846001cab55c4c1aea500d6cb')
options=('!lto')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cargo build --release
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|