61 lines
2 KiB
Bash
61 lines
2 KiB
Bash
|
#!/usr/bin/bash
|
||
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||
|
# Website : https://pozol.eu
|
||
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||
|
# reference to the implementation done by mobinmob in abyss
|
||
|
# https://github.com/mobinmob/void-mklive/tree/abyss
|
||
|
# https://github.com/void-linux/void-mklive/issues/313
|
||
|
|
||
|
pkgname=limine
|
||
|
pkgver=4.20230207.1
|
||
|
pkgrel=02
|
||
|
pkgdesc="An advanced, portable, multiprotocol bootloader"
|
||
|
arch=('x86_64')
|
||
|
url="https://limine-bootloader.org/"
|
||
|
depends=('glibc')
|
||
|
source=("https://github.com/limine-bootloader/limine/releases/download/v${pkgver}/limine-${pkgver}.tar.xz"
|
||
|
limine.boot.protocol
|
||
|
limine.barebones.wiki)
|
||
|
makedepends=('nasm' 'mtools' 'llvm' 'lld' 'clang')
|
||
|
|
||
|
build() {
|
||
|
cd "$pkgname-$pkgver"
|
||
|
./configure \
|
||
|
--prefix=/usr \
|
||
|
--mandir=/usr/share/man \
|
||
|
--docdir=/usr/share/doc \
|
||
|
--enable-bios-cd \
|
||
|
--enable-bios-pxe \
|
||
|
--enable-bios \
|
||
|
--disable-uefi-ia32 \
|
||
|
--enable-uefi-x86-64 \
|
||
|
--disable-uefi-aarch64 \
|
||
|
--enable-uefi-cd \
|
||
|
CROSS_TOOLCHAIN=llvm
|
||
|
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "$pkgname-$pkgver"
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||
|
install -Dm644 $srcdir/limine.boot.protocol "$pkgdir/usr/share/doc/$pkgname/limine.boot.protocol"
|
||
|
install -Dm644 $srcdir/limine.barebones.wiki "$pkgdir/usr/share/doc/$pkgname/limine.barebones.wiki"
|
||
|
}
|
||
|
|
||
|
#---- license gpg-key sha256sums ----
|
||
|
|
||
|
license=('BSD')
|
||
|
|
||
|
b2sums=('8baedf3bc99c8fb882acfefdf6d7fc6cf718c034e26d672d6dbe44d87187da2349bdf7204252b92c8aac5e65a32d771b4f8013030533a6dbe24c499c328b6164'
|
||
|
SKIP
|
||
|
SKIP)
|
||
|
|
||
|
sha256sums=(027b03b3ab2779050593bb75d3fa32c8c887871524b12347fcb53fcb18036e7b # limine-4.20230207.1.tar.xz
|
||
|
8964016f9aaaf246d92433f6849c2e228483c7b9716d04afef234d9bb556ca8a # limine.boot.protocol
|
||
|
aba179176961f3fece88672413f98d0ef93e9671f9d25846335aa1ae8e806ebb) # limine.barebones.wiki
|
||
|
|