Date: Saturday, November 26, 2022 @ 19:40:37
  Author: dvzrv
Revision: 1354049

upgpkg: shim 15.7-1: Upgrade to 15.7.

Remove unnecessary quotes and curly braces.

Modified:
  shim/trunk/PKGBUILD

----------+
 PKGBUILD |   46 +++++++++++++++++++++++++---------------------
 1 file changed, 25 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-26 19:35:43 UTC (rev 1354048)
+++ PKGBUILD    2022-11-26 19:40:37 UTC (rev 1354049)
@@ -2,52 +2,56 @@
 # Maintainer: Jonas Witschel <[email protected]>
 
 pkgname=shim
-pkgver=15.6
-_tag=d190191fd9016bb1538d57cab3397328b12f9edb # git rev-parse "$pkgver"
+pkgver=15.7
+_commit=46f7220ff61dc5dea95273ccb595de31b2b3bf9e  # refs/tags/15.7
 pkgrel=1
 pkgdesc="EFI preloader (unsigned EFI binaries)"
-arch=('any')
+arch=(any)
 url="https://github.com/rhboot/shim";
-license=('BSD')
-makedepends=('git')
-checkdepends=('efivar' 'xxd')
-source=("git+https://github.com/rhboot/shim.git?signed#tag=$_tag";
-        'rhboot-gnu-efi::git+https://github.com/rhboot/gnu-efi.git')
+license=(BSD)
+makedepends=(git)
+checkdepends=(efivar xxd)
+source=(
+  git+https://github.com/rhboot/shim.git#tag=$_commit?signed
+  rhboot-gnu-efi::git+https://github.com/rhboot/gnu-efi.git
+)
 md5sums=('SKIP'
          'SKIP')
-validpgpkeys=('B00B48BC731AA8840FED9FB0EED266B70F4FEF10'  # Peter Jones 
<[email protected]>
-              '039A9CEA19DE9508C36875AA2532F9176A95A442') # Robbie Harwood 
(work) <[email protected]>
+validpgpkeys=(
+  B00B48BC731AA8840FED9FB0EED266B70F4FEF10  # Peter Jones <[email protected]>
+  039A9CEA19DE9508C36875AA2532F9176A95A442  # Robbie Harwood (work) 
<[email protected]>
+)
 
 pkgver() {
-  cd "$pkgname"
+  cd $pkgname
   git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
 }
 
 prepare() {
-  cd "$pkgname"
+  cd $pkgname
   git submodule init
   git config submodule.gnu-efi.url "$srcdir/rhboot-gnu-efi"
-  git submodule update
+  git -c protocol.file.allow=always submodule update
+
   # -Werror, not even once
   sed -e 's/-Werror\b//g' -i Makefile Make.defaults
 }
 
 build() {
-  cd "$pkgname"
+  cd $pkgname
   # TODO: evaluate setting DEFAULT_LOADER to e.g. loader.efi:
   # this would require changing grub's default, but would allow us to unify
-  make EFIDIR='ARCH'
+  make EFIDIR=ARCH
 }
 
 check() {
-  cd "$pkgname"
+  cd $pkgname
   make test
 }
 
 package() {
-  cd "$pkgname"
-  make DATATARGETDIR="/usr/share/${pkgname}" DESTDIR="$pkgdir/" install-as-data
-  install -vDm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 {BUILDING,README.{md,fallback,tpm},TODO} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  cd $pkgname
+  make DATATARGETDIR="/usr/share/$pkgname" DESTDIR="$pkgdir/" install-as-data
+  install -vDm 644 COPYRIGHT -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 {BUILDING,README.{md,fallback,tpm},TODO} -t 
"$pkgdir/usr/share/doc/$pkgname/"
 }

Reply via email to