From b2db6f46d9d311aa6a71fb35a5d82bc276f033ba Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Thu, 24 Jun 2021 18:17:19 +0000 Subject: [PATCH] dog: -> 0.1.0 --- dog/.footprint | 3 +++ dog/.signature | 5 +++++ dog/Pkgfile | 20 ++++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 dog/.footprint create mode 100644 dog/.signature create mode 100644 dog/Pkgfile diff --git a/dog/.footprint b/dog/.footprint new file mode 100644 index 000000000..f549d0604 --- /dev/null +++ b/dog/.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/dog diff --git a/dog/.signature b/dog/.signature new file mode 100644 index 000000000..152e22986 --- /dev/null +++ b/dog/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF30OI9qUOpYLzkG2TU6eghd1LfrU5HY0R+J4SLc1YBFh73sYgfLXdTV9hKROa/quPFV0WaJX1k/fODYu/alTi+wo= +SHA256 (Pkgfile) = 72f2911a2e8b6635b44f8643848a8fc3ebac36455ea8617cabc9e6a573dfcb3f +SHA256 (.footprint) = 06ab6e361fdbf3de498f32c4b385c20aa1e4e5379f3ded9ffd36cb1245fd32fb +SHA256 (dog-0.1.0.tar.gz) = 82387d38727bac7fcdb080970e84b36de80bfe7923ce83f993a77d9ac7847858 diff --git a/dog/Pkgfile b/dog/Pkgfile new file mode 100644 index 000000000..7dd0276a4 --- /dev/null +++ b/dog/Pkgfile @@ -0,0 +1,20 @@ +# Description: A command-line DNS client +# URL: https://github.com/ogham/dog +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust + +name=dog +version=0.1.0 +release=1 +source=(https://github.com/ogham/dog/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 +}