wl/swclock/ndmake.sh
$ cat ndmake.sh
#!/bin/sh -ue
NAME=swclock
VERSION=git
RELEASE=1
SOURCE="https://git.sr.ht/~shrub900/swclock"
build() {
make CC="cc -static" PKG_CONFIG="pkg-config --static"
mkdir -p "$PKG$PREFIX/bin"
cp swclock "$PKG$PREFIX/bin"
}
. ${0%/*}/../../libsh/libdmake.sh
