void-packages/srcpkgs/limine/template

26 lines
749 B
Bash

# Template file for 'limine'
pkgname=limine
version=5.20230917.0
revision=1
build_style=gnu-configure
configure_args="--enable-all TOOLCHAIN_FOR_TARGET=llvm"
hostmakedepends="mtools nasm llvm clang lld"
short_desc="Advanced, portable, multiprotocol bootloader"
maintainer="Mintsuki <mintsuki@protonmail.com>"
license="BSD-2-Clause"
homepage="https://limine-bootloader.org/"
distfiles="https://github.com/limine-bootloader/limine/releases/download/v${version}/limine-${version}.tar.xz"
checksum=2d9b55e798e951ebd3d4266303e9cefda2ee9f7055a3c877dc7e306f0e94ec91
post_install() {
vlicense LICENSE
}
limine-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}