blob: 9d8a8b14530dc1a2b344c6e170da4f259eb543f9 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# $Id: PKGBUILD 156423 2012-04-18 07:53:47Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor : Murtuza Akhtari <inxsible at gmail dot com>
# Contributor: Keshav P R <skodabenz at rocketmail dot com>
pkgname=efibootmgr
pkgver=0.5.4
pkgrel=3
pkgdesc="Tool to modify UEFI Firmware Boot Manager Variables."
arch=('i686' 'x86_64' 'mips64el')
url="http://linux.dell.com/efibootmgr/"
license=('GPL2')
depends=('zlib' 'pciutils')
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'
'b99b8f79842b96c241a0b0fcfb75c778')
|