spmenuify/build.sh
2023-05-01 20:37:33 +02:00

18 lines
308 B
Bash
Executable file

#!/bin/bash
# spmenuify build script
PREFIX="${PREFIX:-/usr}"
DESTDIR="${DESTDIR:-}"
INCDIR="${INCDIR:-/usr/include}"
makebin="${makebin:-$(command -v make)}"
loadconf() {
[ -x "buildconf" ] && source buildconf
}
install() {
$makebin install PREFIX="$PREFIX" DESTDIR="$DESTDIR"
}
loadconf
install