cruxports/tuigreet/Pkgfile
2022-02-05 15:39:19 -05:00

22 lines
590 B
Plaintext

# Description: graphical console greeter for greetd
# URL: https://github.com/apognu/tuigreet
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: greetd
name=tuigreet
version=0.7.1
release=1
source=(https://github.com/apognu/tuigreet/archive/$version/$name-$version.tar.gz)
build() {
cd $name-$version
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
cargo fetch
cargo build --release --locked
install -Dt $PKG/usr/bin target/release/tuigreet
}