name=astral
version=0
source_dir="kernel-src"
allow_network="yes"
imagedeps="wget"

regenerate() {
	curl https://raw.githubusercontent.com/limine-bootloader/limine/trunk/limine.h > include/limine.h
	pushd /tmp/
	wget https://github.com/mpaland/printf/archive/refs/tags/v4.0.0.tar.gz
	tar -xf v4.0.0.tar.gz
	popd
	cp /tmp/printf-4.0.0/printf.c io/printf.c
	cp /tmp/printf-4.0.0/printf.h include/printf.h
}
