#!/bin/sh NAME=netbsd-rogue VERSION=nightly UPSTREAM=https://github.com/NetBSD/src.git UPSTREAM_TYPE=custom . soft # fetch git clone --filter=blob:none --no-checkout --depth 1 "$UPSTREAM" "$SRC" git -C "$SRC" sparse-checkout set --sparse-index games/rogue include/machine sys git -C "$SRC" checkout trunk # mangle