summaryrefslogtreecommitdiff
path: root/hck
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-09-20 00:13:33 +0200
committerTim Biermann <tbier@posteo.de>2021-09-20 00:13:33 +0200
commitabd300449612fcd964690dc2fae9d1503c63389d (patch)
tree3109065f0bda58a0074341a2f0850eeb86181abf /hck
parent2f377a4943a9c96bf772aca2e02a044cfd69e14e (diff)
downloadcontrib-abd300449612fcd964690dc2fae9d1503c63389d.tar.gz
contrib-abd300449612fcd964690dc2fae9d1503c63389d.tar.xz
hck: initial commit, version 0.6.4
Diffstat (limited to 'hck')
-rw-r--r--hck/.footprint3
-rw-r--r--hck/.signature5
-rw-r--r--hck/Pkgfile19
3 files changed, 27 insertions, 0 deletions
diff --git a/hck/.footprint b/hck/.footprint
new file mode 100644
index 000000000..6dc93d0d6
--- /dev/null
+++ b/hck/.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/hck
diff --git a/hck/.signature b/hck/.signature
new file mode 100644
index 000000000..8a6ce5860
--- /dev/null
+++ b/hck/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF3/Ko2BHrVefn57ndowFjD2/7t8/KeaC5SP3tTXYt5mVvmSysqh1awdnV9NUQNnPl48B+Jll+d2XW5PDbLmtAxwo=
+SHA256 (Pkgfile) = b75931725f51e8fdc4fe326d6e74064963b1a506e622c376527969f90e506446
+SHA256 (.footprint) = 1b39fc00be705a99b9d8e77a901c8b56581e4c83a78923e12402686c708efa50
+SHA256 (hck-0.6.4.tar.gz) = 393ade579ac3bfabd43d0e4764fdb2c040490c8fdc7ac3698ec26ecaea6b73c4
diff --git a/hck/Pkgfile b/hck/Pkgfile
new file mode 100644
index 000000000..d5a1af8f1
--- /dev/null
+++ b/hck/Pkgfile
@@ -0,0 +1,19 @@
+# Description: sharp cut(1) clone
+# URL: https://github.com/sstadick/hck
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: rust
+
+name=hck
+version=0.6.4
+release=1
+source=(https://github.com/sstadick/hck/archive/v$version/$name-$version.tar.gz)
+
+build() {
+ 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 --manifest-path $name-$version/Cargo.toml
+ cargo build --release --locked --manifest-path $name-$version/Cargo.toml
+ install -Dt $PKG/usr/bin $name-$version/target/release/$name
+}

Generated by cgit