pakur.sh 622 B

123456789101112131415161718
  1. RUSTFLAGS="--remap-path-prefix=$(pwd)=/build/" cargo build --release --locked
  2. cd man
  3. for i in *.scd
  4. do
  5. scdoc < "$i" > "$(basename "$i" .scd)".roff
  6. done
  7. install -Dm755 "$SRC/greetd-$surum/target/release/greetd" "$PKG/usr/bin/greetd"
  8. install -Dm755 "$SRC/greetd-$surum/target/release/agreety" "$PKG/usr/bin/agreety"
  9. echo 'u greeter - "greetd greeter user" - /bin/bash' |
  10. install -Dm644 /dev/stdin "$PKG/usr/lib/sysusers.d/greetd.conf"
  11. install -Dm644 "/sources/greetd.pam?h=greetd" "$PKG/etc/pam.d/greetd"
  12. install -Dm644 "$SRC/greetd-$surum/config.toml" "$PKG/etc/greetd/config.toml"