Skip to content
Snippets Groups Projects
Commit fea833d9 authored by Orhun Parmaksız's avatar Orhun Parmaksız Committed by Kevin Daudt
Browse files

testing/igrep: new aport

https://github.com/konradsz/igrep
Interactive grep
testing/
parent 8acecd90
No related branches found
No related tags found
1 merge request!49816testing/igrep: new aport
Pipeline #173987 skipped
# Contributor: Orhun Parmaksız <orhunparmaksiz@gmail.com>
# Maintainer: Orhun Parmaksız <orhunparmaksiz@gmail.com>
pkgname=igrep
pkgver=1.2.0
pkgrel=0
pkgdesc="Interactive grep"
url="https://github.com/konradsz/igrep"
arch="all"
license="MIT"
makedepends="
cargo
cargo-auditable
"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/konradsz/igrep/archive/v$pkgver.tar.gz"
options="net"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --release --frozen
}
check() {
cargo test --frozen
}
package() {
install -Dm 755 "target/release/ig" -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"
}
sha512sums="
ad488485a4dfa615733eee81d2ad6bd010e15b1a10031f906d64fb095be1ef017ed5cd44f5781f2ab5021fe892f80997211692845a9f89b8b689d5cc543428a2 igrep-1.2.0.tar.gz
"
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