Skip to content

Instantly share code, notes, and snippets.

@diabonas diabonas/PKGBUILD Secret
Created Mar 23, 2019

Embed
What would you like to do?
pkgname=shim-efi
pkgver=15
pkgrel=1
pkgdesc='UEFI shim loader'
arch=('x86_64')
url='https://github.com/rhboot/shim'
license=('BSD')
makedepends=('git' 'gnu-efi-libs')
source=("git+${url}.git?signed#tag=$pkgver")
sha256sums=('SKIP')
validpgpkeys=('B00B48BC731AA8840FED9FB0EED266B70F4FEF10') # Peter Jones <pjones@redhat.com>
build() {
cd shim
make EFI_PATH=/usr/lib/ ENABLE_HTTPBOOT=1
}
package() {
cd shim
make DESTDIR="$pkgdir" install-as-data
install -Dm644 COPYRIGHT -t "$pkgdir/usr/share/licenses/$pkgname"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.