void-packages/srcpkgs/limine/template

26 lines
742 B
Bash

# Template file for 'limine'
pkgname=limine
version=7.9.1
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.gz"
checksum=711ea2955e608b0bdba94a0e19b9d7427a99cd4cffa0bece1993d836814abf2d
post_install() {
vlicense COPYING
}
limine-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}