diff options
Diffstat (limited to 'core/efibootmgr/PKGBUILD')
-rwxr-xr-x | core/efibootmgr/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/core/efibootmgr/PKGBUILD b/core/efibootmgr/PKGBUILD new file mode 100755 index 000000000..2a42dea3a --- /dev/null +++ b/core/efibootmgr/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 188652 2013-06-17 10:52:28Z 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.6.0 +pkgrel=3 +pkgdesc="Tool to modify UEFI Firmware Boot Manager Variables." +arch=('i686' 'x86_64') +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-tilt_slashes-func.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-tilt_slashes-func.patch + echo + + CFLAGS= make + echo + +} + + +package() { + + mkdir -p ${pkgdir}/usr/bin/ + mkdir -p ${pkgdir}/usr/share/man/man8/ + + cd ${srcdir}/efibootmgr-${pkgver}_build/ + + install -D -m755 ${srcdir}/efibootmgr-${pkgver}_build/src/efibootmgr/efibootmgr ${pkgdir}/usr/bin/efibootmgr + install -D -m644 ${srcdir}/efibootmgr-${pkgver}_build/src/man/man8/efibootmgr.8 ${pkgdir}/usr/share/man/man8/efibootmgr.8 + +} +md5sums=('9e9a31d79e579644de83a14139b66d10' + '3622c0e978cf859cae60803a6b6a0c5e') |