summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 886dc33f95fbd813cdd2802d1d50932e44c25c13 (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
# Maintainer: Robert Csordas <xdever@gmail.com>
pkgname=arch-efiboot
_gitsha="bc7fc9e78fefbcfa9ba5663fe3da96a470734b77"
pkgver=1.0
pkgrel=1
epoch=
arch=("i386" "x86_64")
url="https://github.com/xdever/arch-efiboot"
groups=()
depends=("binutils" "pacman")
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
changelog=
source=("git+https://github.com/xdever/arch-efiboot#commit=${_gitsha}")
license=('Apache')
md5sums=('SKIP')
pkgdesc="Builds bootable UEFI blobs (including kernel, initrd, ucode, cmdline) in /boot directory "
install="${pkgname}.install"

package () {
    install -D -m755 ${srcdir}/${pkgname}/build_kernel.sh ${pkgdir}/usr/bin/build_efi_kernels
    install -D -m644 ${srcdir}/${pkgname}/kernel-update.hook ${pkgdir}/etc/pacman.d/hooks/efi-kernel-update.hook
    sed -i 's/\/opt\/build_kernel\.sh/\/usr\/bin\/build_efi_kernels/' ${pkgdir}/etc/pacman.d/hooks/efi-kernel-update.hook
}