[arch-commits] Commit in shim/repos/community-any (PKGBUILD PKGBUILD)
Jonas Witschel
diabonas at gemini.archlinux.org
Tue Jun 7 19:40:44 UTC 2022
Date: Tuesday, June 7, 2022 @ 19:40:44
Author: diabonas
Revision: 1228566
archrelease: copy trunk to community-any
Added:
shim/repos/community-any/PKGBUILD
(from rev 1228565, shim/trunk/PKGBUILD)
Deleted:
shim/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 53 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-07 19:40:26 UTC (rev 1228565)
+++ PKGBUILD 2022-06-07 19:40:44 UTC (rev 1228566)
@@ -1,47 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-
-pkgname=shim
-pkgver=15.5
-pkgrel=1
-pkgdesc="EFI preloader (unsigned EFI binaries)"
-arch=('any')
-url="https://github.com/rhboot/shim"
-license=('BSD')
-makedepends=('git')
-checkdepends=('efivar' 'xxd')
-source=("git+https://github.com/rhboot/shim.git#tag=${pkgver}?signed"
- 'rhboot-gnu-efi::git+https://github.com/rhboot/gnu-efi.git')
-md5sums=('SKIP'
- 'SKIP')
-validpgpkeys=('B00B48BC731AA8840FED9FB0EED266B70F4FEF10' # Peter Jones <pjones at redhat.com>
- '039A9CEA19DE9508C36875AA2532F9176A95A442') # Robbie Harwood (work) <rharwood at fedoraproject.org>
-
-prepare() {
- cd "$pkgname"
- git submodule init
- git config submodule.gnu-efi.url "$srcdir/rhboot-gnu-efi"
- git submodule update
- # -Werror, not even once
- sed -e 's/-Werror\b//g' -i Makefile Make.defaults
-}
-
-build() {
- 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'
-}
-
-check() {
- 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}"
-}
Copied: shim/repos/community-any/PKGBUILD (from rev 1228565, shim/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-07 19:40:44 UTC (rev 1228566)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+
+pkgname=shim
+pkgver=15.6
+_tag=d190191fd9016bb1538d57cab3397328b12f9edb # git rev-parse "$pkgver"
+pkgrel=1
+pkgdesc="EFI preloader (unsigned EFI binaries)"
+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')
+md5sums=('SKIP'
+ 'SKIP')
+validpgpkeys=('B00B48BC731AA8840FED9FB0EED266B70F4FEF10' # Peter Jones <pjones at redhat.com>
+ '039A9CEA19DE9508C36875AA2532F9176A95A442') # Robbie Harwood (work) <rharwood at fedoraproject.org>
+
+pkgver() {
+ cd "$pkgname"
+ git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "$pkgname"
+ git submodule init
+ git config submodule.gnu-efi.url "$srcdir/rhboot-gnu-efi"
+ git submodule update
+ # -Werror, not even once
+ sed -e 's/-Werror\b//g' -i Makefile Make.defaults
+}
+
+build() {
+ 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'
+}
+
+check() {
+ 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}"
+}
More information about the arch-commits
mailing list