2023-02-07 23:53:01 +01:00
|
|
|
#!/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
|
2023-03-29 03:55:00 +02:00
|
|
|
pkgver=4.20230325.0
|
2023-02-07 23:53:01 +01:00
|
|
|
pkgrel=02
|
|
|
|
pkgdesc="An advanced, portable, multiprotocol bootloader"
|
|
|
|
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
|
2023-03-29 03:55:00 +02:00
|
|
|
limine.barebones.wiki
|
|
|
|
limine.cfg::https://github.com/limine-bootloader/limine/raw/trunk/test/limine.cfg
|
|
|
|
bg.jpg::https://raw.githubusercontent.com/limine-bootloader/limine/trunk/test/bg.jpg
|
|
|
|
CONFIG.md::https://github.com/limine-bootloader/limine/raw/trunk/CONFIG.md)
|
2023-02-07 23:53:01 +01:00
|
|
|
makedepends=('nasm' 'mtools' 'llvm' 'lld' 'clang')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2023-03-29 03:55:00 +02:00
|
|
|
--bindir=/usr/bin \
|
|
|
|
--sbindir=/usr/bin \
|
|
|
|
--libdir=/usr/lib \
|
2023-02-07 23:53:01 +01:00
|
|
|
--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 \
|
2023-03-29 03:55:00 +02:00
|
|
|
TOOLCHAIN_FOR_TARGET=llvm
|
2023-02-07 23:53:01 +01:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
2023-03-29 03:55:00 +02:00
|
|
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
mkdir -p -m755 "$pkgdir/boot/limine"
|
|
|
|
install -Dm644 $srcdir/$pkgname-$pkgver/bin/limine.sys "$pkgdir/boot/limine/"
|
|
|
|
install -Dm644 $srcdir/bg.jpg "$pkgdir/boot/limine/"
|
|
|
|
install -Dm644 $srcdir/limine.cfg "$pkgdir/boot/limine/"
|
|
|
|
install -Dm644 $srcdir/CONFIG.md "$pkgdir/boot/limine/"
|
2023-02-07 23:53:01 +01:00
|
|
|
}
|
|
|
|
|
2023-03-29 03:55:00 +02:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
2023-02-07 23:53:01 +01:00
|
|
|
|
2023-03-29 03:55:00 +02:00
|
|
|
arch=(x86_64)
|
2023-02-07 23:53:01 +01:00
|
|
|
|
2023-03-29 03:55:00 +02:00
|
|
|
license=('BSD')
|
2023-02-07 23:53:01 +01:00
|
|
|
|
2023-03-29 03:55:00 +02:00
|
|
|
sha256sums=(d6cf3b67a06901e20495dae6308e344301e2ae25c42c08a64e694d9a1caae4bc # limine-4.20230325.0.tar.xz
|
2023-02-07 23:53:01 +01:00
|
|
|
8964016f9aaaf246d92433f6849c2e228483c7b9716d04afef234d9bb556ca8a # limine.boot.protocol
|
2023-03-29 03:55:00 +02:00
|
|
|
aba179176961f3fece88672413f98d0ef93e9671f9d25846335aa1ae8e806ebb # limine.barebones.wiki
|
|
|
|
bfbd4b5e8d318cb6cb91c1e1311525f65046943edb642aa411bea94a522f3d32 # limine.cfg
|
|
|
|
15df8e06872a6cb89dfad3f99ad2b255dd1a54576e4343c954975e2ea48f28ab # bg.jpg
|
|
|
|
929fdf6d57dd490ab4bf18ad0415318eeeafe35dae0095c3b477ad32c3f32919) # CONFIG.md
|
2023-02-07 23:53:01 +01:00
|
|
|
|
2023-03-29 03:55:00 +02:00
|
|
|
## 90f3d33cb7e0c88eb046e6540c3de34b6721c893d366e3bbf75ffaa156cec8b1 limine-4.20230325.0-02-x86_64.pkg.tar.lz
|