diff options
author | Tim Biermann <tbier@posteo.de> | 2021-06-24 18:17:19 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-06-24 18:54:12 +0000 |
commit | b2db6f46d9d311aa6a71fb35a5d82bc276f033ba (patch) | |
tree | 89232d27ad5c963a0732016785bca24a1d72bd9c /dog | |
parent | b8b9d1b4978a681e75e4650523d399c93d30c1e0 (diff) | |
download | contrib-b2db6f46d9d311aa6a71fb35a5d82bc276f033ba.tar.gz contrib-b2db6f46d9d311aa6a71fb35a5d82bc276f033ba.tar.xz |
dog: -> 0.1.0
Diffstat (limited to 'dog')
-rw-r--r-- | dog/.footprint | 3 | ||||
-rw-r--r-- | dog/.signature | 5 | ||||
-rw-r--r-- | dog/Pkgfile | 20 |
3 files changed, 28 insertions, 0 deletions
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 +} |