diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b16646938612 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: James An <james@jamesan.ca> + +pkgname=apple_set_os +pkgver=v0 +pkgrel=1 +pkgdesc='Tiny EFI program for unlocking the Intel integrated graphics device on the Macbook Pro 11,3' +arch=('i686' 'x86_64') +url="https://github.com/0xbb/$pkgname.efi" +license=('MIT') +makedepends=('git' 'gnu-efi-libs') +optdepends=( + 'efibootmgr: manage UEFI boot entries' + 'grub: boot loader capable of UEFI chainloading' + 'gummiboot: boot loader capable of UEFI chainloading' + 'refind-efi: boot loader capable of UEFI chainloading' + 'systemd: has boot loader capable of UEFI chainloading' +) +source=( + "$pkgname"::"git+https://github.com/0xbb/$pkgname.efi.git" +) +md5sums=('SKIP') + +build() { + cd $pkgname + make +} + +package() { + cd $pkgname + install -Dm644 "$pkgname.efi" "$pkgdir/boot/EFI/tools/$pkgname.efi" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" + install -Dm644 README.md "$pkgdir/usr/share/doc/$_pkgname/README.md" +} |