blob: f2bb723ce9a2abc2338d92179a932ffb311eb346 (
plain)
1 # Description: Graphical console greeter for greetd
2 # URL: https://github.com/apognu/tuigreet
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: greetd
5
6 name=tuigreet
7 version=0.8.0
8 release=1
9 source=(https://github.com/apognu/tuigreet/archive/$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
18 install -Dt $PKG/usr/bin $name-$version/target/release/$name
19
20 prt-get isinst scdoc && (
21 scdoc < "$name-$version/contrib/man/$name-1.scd"> $SRC/$name-1.roff
22 install -Dm755 $SRC/$name-1.roff $PKG/usr/share/man/man1/$name.1) || true
23 }
|