[arch-commits] Commit in efitools/trunk (PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Sat May 14 14:29:28 UTC 2016
Date: Saturday, May 14, 2016 @ 16:29:28
Author: tpowa
Revision: 267982
upgpkg: efitools 1.7.0-1
fix #49314 Preloader.efi
Modified:
efitools/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-14 13:42:50 UTC (rev 267981)
+++ PKGBUILD 2016-05-14 14:29:28 UTC (rev 267982)
@@ -4,8 +4,8 @@
# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
pkgname="efitools"
-pkgver="1.7.0"
-pkgrel="2"
+pkgver=1.7.0
+pkgrel=1
pkgdesc="Tools for manipulating UEFI secure boot platforms"
url="http://git.kernel.org/cgit/linux/kernel/git/jejb/efitools.git"
arch=('x86_64' 'i686')
@@ -19,12 +19,17 @@
pkgver() {
cd "${pkgname}"
- echo "$(git describe --tags)" | sed -e 's|efitools-||g' -e 's|-|\.|g'
+ echo "$(git describe --tags)" | sed -e 's|-|\.|g' -e 's|^v||g'
}
+prepare() {
+ cd "${pkgname}"
+ git clean -x -d -f
+}
+
build() {
- cd "${pkgname}"
- # fix PreLoader.efi building on x86_64 #49314
+ cd "${pkgname}"
+ # fix PreLoader.efi building on x86_64 #49314
export ARCH="${CARCH}"
make
}
More information about the arch-commits
mailing list