mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
54 lines
1.4 KiB
Bash
Executable File
54 lines
1.4 KiB
Bash
Executable File
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=efibootmgr
|
|
pkgver=0.5.4
|
|
pkgrel=2
|
|
pkgdesc="Tool to modify UEFI Firmware Boot Manager Variables."
|
|
arch=('i686' 'x86_64')
|
|
url="http://linux.dell.com/efibootmgr/"
|
|
license=('GPL2')
|
|
depends=('zlib')
|
|
makedepends=()
|
|
provides=()
|
|
options=(strip purge docs zipman !emptydirs)
|
|
|
|
source=("http://linux.dell.com/efibootmgr/permalink/${pkgname}-${pkgver}.tar.gz"
|
|
'efibootmgr_after_0.5.4_git.patch'
|
|
'efibootmgr_default_to_grub2.patch')
|
|
|
|
build () {
|
|
rm -rf ${srcdir}/efibootmgr-${pkgver}_build/ || true
|
|
|
|
cp -r ${srcdir}/efibootmgr-${pkgver} ${srcdir}/efibootmgr-${pkgver}_build
|
|
|
|
cd ${srcdir}/efibootmgr-${pkgver}_build/
|
|
|
|
patch -Np1 -i ${srcdir}/efibootmgr_after_0.5.4_git.patch
|
|
patch -Np1 -i ${srcdir}/efibootmgr_default_to_grub2.patch
|
|
echo
|
|
|
|
CFLAGS= make
|
|
echo
|
|
|
|
}
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p ${pkgdir}/usr/sbin/
|
|
mkdir -p ${pkgdir}/usr/share/man/man8/
|
|
|
|
cd ${srcdir}/efibootmgr-${pkgver}_build/
|
|
|
|
install -D -m755 ${srcdir}/efibootmgr-${pkgver}_build/src/efibootmgr/efibootmgr ${pkgdir}/usr/sbin/efibootmgr
|
|
install -D -m644 ${srcdir}/efibootmgr-${pkgver}_build/src/man/man8/efibootmgr.8 ${pkgdir}/usr/share/man/man8/efibootmgr.8
|
|
|
|
}
|
|
md5sums=('cfcf24752d6461b73f7ba964bbf73169'
|
|
'29730052de0d6911457a26011f8ddb6e'
|
|
'd31f3c378cf8aac57b71620340c68b24')
|