1
0
forked from ports/contrib

grex: initial commit, version 1.1.0

This commit is contained in:
Tim Biermann 2020-11-19 08:47:47 +00:00
parent 450ed6a6cd
commit d5b203f16b
3 changed files with 30 additions and 0 deletions

3
grex/.footprint Normal file
View File

@ -0,0 +1,3 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/grex

5
grex/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wgmD8itjwIgd239d0ToAThRub8ooskKC1H6jxdnZHZX4iBM5ZZF5VHgnznfgV3un4LII4gwOFX+ZFR9oN5rCwU=
SHA256 (Pkgfile) = a097f2f89843845277ccac10216c3d326728fc414c0c4e97b7a7d7a47a659b1c
SHA256 (.footprint) = 892b73ceb503cb594a871e66248fecb170addd6d0cac4dd12f1e17fbac9c9990
SHA256 (grex-1.1.0.tar.gz) = 52a9d5ddc15c7fb227c87147d991bfabe2aae1fbef8169893a9111dcd3aa641f

22
grex/Pkgfile Normal file
View File

@ -0,0 +1,22 @@
# Description: command-line tool and library for generating regular expressions from user-provided test cases
# URL: https://github.com/pemistahl/grex
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust
name=grex
version=1.1.0
release=1
source=(https://github.com/pemistahl/grex/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
mkdir "$PKGMK_SOURCE_DIR/rust" || true
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
cargo update
cargo fetch
cargo build --release --locked
install -Dt $PKG/usr/bin target/release/grex
}