dog: -> 0.1.0

This commit is contained in:
Tim Biermann 2021-06-24 18:17:19 +00:00
parent b8b9d1b497
commit b2db6f46d9
3 changed files with 28 additions and 0 deletions

3
dog/.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/dog

5
dog/.signature Normal file
View File

@ -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

20
dog/Pkgfile Normal file
View File

@ -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
}