summaryrefslogtreecommitdiff
path: root/rhit/Pkgfile
blob: 1d30148a56c579725953d1f74e574781d42abbb7 (plain)
    1 # Description: A nginx log explorer
    2 # URL: https://dystroy.org/rhit/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: rust
    5 
    6 name=rhit
    7 version=1.7.1
    8 release=1
    9 source=(https://github.com/Canop/rhit/archive/v$version/$name-$version.tar.gz)
   10 
   11 build() {
   12   prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
   13   mkdir "$PKGMK_SOURCE_DIR/rust" || true
   14   export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
   15 
   16   cargo build --release --manifest-path $name-$version/Cargo.toml
   17   install -Dt $PKG/usr/bin $name-$version/target/release/$name
   18 }

Generated by cgit