31 lines
526 B
Bash
31 lines
526 B
Bash
pkgname=limine
|
|
pkgver=3.4.1
|
|
mkdeps="nasm:llvm"
|
|
|
|
fetch() {
|
|
curl -L "https://github.com/limine-bootloader/limine/releases/download/v$pkgver/limine-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
bad --gmake ./configure \
|
|
--build=$HOST_TRIPLE \
|
|
--host=$TRIPLE \
|
|
--prefix=/usr
|
|
bad --gmake gmake CC=clang
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
bad --gmake gmake install DESTDIR=$pkgdir
|
|
}
|
|
|
|
license() {
|
|
cd $pkgname-$pkgver
|
|
cat LICENSE.md
|
|
}
|
|
|
|
backup() {
|
|
return
|
|
}
|