blob: 4572d9d1342820dc27447df664cc223a26fa32df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# Maintainer: psykose <alice@ayaya.dev>
pkgname=limine
pkgver=3.10.1
pkgrel=0
pkgdesc="Advanced multiprotocol x86/x86_64 BIOS/UEFI Bootloader"
url="https://limine-bootloader.org"
# only x86/x86_64 supported, x86 needs a cross toolchain
arch="x86_64"
license="BSD-2-Clause"
makedepends="
clang
mtools
nasm
"
subpackages="
$pkgname-dev
$pkgname-cd:_cd
$pkgname-deploy
$pkgname-pxe
$pkgname-sys
$pkgname-32:_32
$pkgname-64:_64
"
source="https://github.com/limine-bootloader/limine/releases/download/v$pkgver/limine-$pkgver.tar.xz"
options="!check" # no tests in tarball
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-all
make
}
package() {
make DESTDIR="$pkgdir" install
}
deploy() {
pkgdesc="$pkgdesc (limine-deploy bios installer)"
amove usr/bin/limine-deploy
}
_cd() {
pkgdesc="$pkgdesc (cd/efi files)"
depends="$pkgname-sys"
amove usr/share/limine/limine-cd*.bin
}
pxe() {
pkgdesc="$pkgdesc (pxe executable)"
depends="$pkgname-sys"
amove usr/share/limine/limine-pxe.bin
}
sys() {
pkgdesc="$pkgdesc (sys file)"
amove usr/share/limine/limine.sys
}
_32() {
pkgdesc="$pkgdesc (32-bit uefi image)"
amove usr/share/limine/BOOTIA32.EFI
}
_64() {
pkgdesc="$pkgdesc (64-bit uefi image)"
amove usr/share/limine/BOOTX64.EFI
}
sha512sums="
864abfcf66c0cacaccbe94443ff173d5cd74523334524f34a644a190d0f685303d7caf6d358bbe45b72461dcdbc9aabc4e2527e22e8a4cae445d6294fb5f6a3e limine-3.10.1.tar.xz
"
|