summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornl67202018-03-02 18:34:07 +0200
committernl67202018-03-02 18:34:07 +0200
commit03a2f8e6721d90b75481b788abda1d79dad81780 (patch)
treed7eee10bc84f1a7f599e822fe41599909ece5628
parent88103951c891948daf53d16479d39c343e2bb5f8 (diff)
downloadaur-03a2f8e6721d90b75481b788abda1d79dad81780.tar.gz
Improve PKGBUILD
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 9 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1773d3b28b8..5156d2eb4c4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = shim-signed
- pkgdesc = Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments.
+ pkgdesc = Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments
pkgver = 13.f0.7
pkgrel = 1
url = https://apps.fedoraproject.org/packages/shim-signed
arch = x86_64
license = BSD
options = !strip
- source = https://kojipkgs.fedoraproject.org/packages/shim-signed/13/0.7/x86_64/shim-x64-13-0.7.x86_64.rpm
- sha512sums = e3b6baecf012ea4009e8d86c0151c4d38f0dc1741201480a81420ae78defac5d04a327ed1b0099a20b6843f460bab69bb5fde416e2c82c4a3b1b4eb8189b3b45
+ source_x86_64 = https://kojipkgs.fedoraproject.org/packages/shim-signed/13/0.7/x86_64/shim-x64-13-0.7.x86_64.rpm
+ sha512sums_x86_64 = e3b6baecf012ea4009e8d86c0151c4d38f0dc1741201480a81420ae78defac5d04a327ed1b0099a20b6843f460bab69bb5fde416e2c82c4a3b1b4eb8189b3b45
pkgname = shim-signed
diff --git a/PKGBUILD b/PKGBUILD
index 832bd13df11..53e96cb44af 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,23 +5,22 @@
pkgname='shim-signed'
pkgver='13.f0.7'
pkgrel='1'
-pkgdesc='Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments.'
+pkgdesc='Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments'
url='https://apps.fedoraproject.org/packages/shim-signed'
arch=('x86_64')
license=('BSD')
options=('!strip')
-source=("https://kojipkgs.fedoraproject.org/packages/${pkgname}/${pkgver//.f/\/}/${CARCH}/shim-${_ARCH_SUFFIX}-${pkgver//.f/-}.${CARCH}.rpm")
+source_x86_64=("https://kojipkgs.fedoraproject.org/packages/${pkgname}/${pkgver//.f/\/}/${CARCH}/shim-${_ARCH_SUFFIX}-${pkgver//.f/-}.${CARCH}.rpm")
-sha512sums=('e3b6baecf012ea4009e8d86c0151c4d38f0dc1741201480a81420ae78defac5d04a327ed1b0099a20b6843f460bab69bb5fde416e2c82c4a3b1b4eb8189b3b45')
+sha512sums_x86_64=('e3b6baecf012ea4009e8d86c0151c4d38f0dc1741201480a81420ae78defac5d04a327ed1b0099a20b6843f460bab69bb5fde416e2c82c4a3b1b4eb8189b3b45')
package() {
- install -D -m0644 "${srcdir}/boot/efi/EFI/fedora/shim${_ARCH_SUFFIX}.efi" "${pkgdir}/usr/share/${pkgname}/shim${_ARCH_SUFFIX}.efi"
- install -D -m0644 "${srcdir}/boot/efi/EFI/fedora/mm${_ARCH_SUFFIX}.efi" "${pkgdir}/usr/share/${pkgname}/mm${_ARCH_SUFFIX}.efi"
- install -D -m0644 "${srcdir}/boot/efi/EFI/BOOT/fb${_ARCH_SUFFIX}.efi" "${pkgdir}/usr/share/${pkgname}/fb${_ARCH_SUFFIX}.efi"
+ install -D -m0644 -t "${pkgdir}/usr/share/${pkgname}/" "${srcdir}/boot/efi/EFI/fedora/shim${_ARCH_SUFFIX}.efi"
+ install -D -m0644 -t "${pkgdir}/usr/share/${pkgname}/" "${srcdir}/boot/efi/EFI/fedora/mm${_ARCH_SUFFIX}.efi"
+ install -D -m0644 -t "${pkgdir}/usr/share/${pkgname}/" "${srcdir}/boot/efi/EFI/BOOT/fb${_ARCH_SUFFIX}.efi"
# Symlink old filenames
ln -s "shim${_ARCH_SUFFIX}.efi" "${pkgdir}/usr/share/${pkgname}/shim.efi"
ln -s "mm${_ARCH_SUFFIX}.efi" "${pkgdir}/usr/share/${pkgname}/MokManager.efi"
ln -s "fb${_ARCH_SUFFIX}.efi" "${pkgdir}/usr/share/${pkgname}/fallback.efi"
-
}