diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-19 09:26:36 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-19 09:31:25 +0000 |
commit | 3def2090534c91f1e693c33f6812263e4975ff05 (patch) | |
tree | 55606f4f6afc0c9cc42675433b45af96964180a6 /regtail | |
parent | 5a7d3254ab7b2d89903906344fedddf326a834e6 (diff) | |
download | contrib-3def2090534c91f1e693c33f6812263e4975ff05.tar.gz contrib-3def2090534c91f1e693c33f6812263e4975ff05.tar.xz |
regtail: initial commit, version 0.1.0
Diffstat (limited to 'regtail')
-rw-r--r-- | regtail/.footprint | 3 | ||||
-rw-r--r-- | regtail/.signature | 5 | ||||
-rw-r--r-- | regtail/Pkgfile | 22 |
3 files changed, 30 insertions, 0 deletions
diff --git a/regtail/.footprint b/regtail/.footprint new file mode 100644 index 000000000..2b9aba51f --- /dev/null +++ b/regtail/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/regtail diff --git a/regtail/.signature b/regtail/.signature new file mode 100644 index 000000000..e363e7da5 --- /dev/null +++ b/regtail/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3+RDmSc0eVg5EkYF/OBBWgUZU38XJ5Pwzi/r0FLNPvQ+APPaEt230Q1esBtbfrJikKSLJfxAcXual+GHnEqJdQg= +SHA256 (Pkgfile) = 2b68fe45e74b80af516a464cf42f018da1f6ecefff2b42ad93e2422b5c35669c +SHA256 (.footprint) = 644f633f68dc6d923e7475a2b01e0302c81906cf1bf3dfc97e40352cefe271fe +SHA256 (regtail-0.1.0.tar.gz) = ef5f15980427d9e730aa633ae6846099681d67331ec2062120aaf3e3263b4fc5 diff --git a/regtail/Pkgfile b/regtail/Pkgfile new file mode 100644 index 000000000..c748fab9e --- /dev/null +++ b/regtail/Pkgfile @@ -0,0 +1,22 @@ +# Description: Regex base tail written in Rust. +# URL: https://github.com/StoneDot/regtail +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust + +name=regtail +version=0.1.0 +release=1 +source=(https://github.com/StoneDot/regtail/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/regtail +} |