cruxports/tuigreet/Pkgfile

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.8.0
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
}