[arch-commits] Commit in fwupdate/trunk (PKGBUILD fwupdate.install)
Bruno Pagani
archange at archlinux.org
Thu Jul 19 14:19:56 UTC 2018
Date: Thursday, July 19, 2018 @ 14:19:56
Author: archange
Revision: 362403
upgpkg: fwupdate 12-1
Removed arch configuration, this is now an expert package (since not required anymore by fwupd).
Modified:
fwupdate/trunk/PKGBUILD
Deleted:
fwupdate/trunk/fwupdate.install
------------------+
PKGBUILD | 20 ++++++--------------
fwupdate.install | 9 ---------
2 files changed, 6 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-19 14:05:03 UTC (rev 362402)
+++ PKGBUILD 2018-07-19 14:19:56 UTC (rev 362403)
@@ -2,7 +2,7 @@
# Contributor: Mirco Tischler <mt-ml at gmx dot de>
pkgname=fwupdate
-pkgver=11
+pkgver=12
pkgrel=1
pkgdesc="Tools for using the ESRT and UpdateCapsule() to apply firmware updates"
arch=('x86_64')
@@ -10,13 +10,8 @@
license=('GPL2')
depends=('efivar' 'libsmbios' 'bash')
makedepends=('pesign' 'gnu-efi-libs')
-source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
- 'esp-as-boot.hook'
- 'esp-as-boot-efi.hook')
-sha256sums=('d350eae66215c90fdc70f46ea734dedbfe6006ec21b7e764114b7d9e283e4abe'
- '20f696fbcba5a5de644eb06b71954adfde6dcc4f619075392977a248f96a59b6'
- '3ad20522b5e3118312a31cab7ab915c2427ecaf72a83759ffb7229bccfb65259')
-install=fwupdate.install
+source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('4167d569f14e00ecf620c369ab34709e4bb1574ed588ef2e2398667e9e968703')
_efidir=arch
@@ -37,10 +32,7 @@
# Do not install anything under /boot. Copy files to /usr/lib/fwupdate for manual or hook installation.
install -d "${pkgdir}"/usr/{lib,share/doc}/${pkgname}
mv "${pkgdir}"/boot/efi/EFI "${pkgdir}"/usr/lib/${pkgname}/EFI
- rm -rf "${pkgdir}"/boot
- rm -rf "${pkgdir}"/usr/src
- rm -rf "${pkgdir}"/usr/lib/debug
- cd ..
- install -Dm644 esp-as-boot.hook -t "${pkgdir}"/usr/share/doc/${pkgname}/
- install -Dm644 esp-as-boot-efi.hook -t "${pkgdir}"/usr/share/doc/${pkgname}/
+ rm -r "${pkgdir}"/boot
+ rm -r "${pkgdir}"/usr/src
+ rm -r "${pkgdir}"/usr/lib/debug
}
Deleted: fwupdate.install
===================================================================
--- fwupdate.install 2018-07-19 14:05:03 UTC (rev 362402)
+++ fwupdate.install 2018-07-19 14:19:56 UTC (rev 362403)
@@ -1,9 +0,0 @@
-post_install() {
- echo "Please read https://wiki.archlinux.org/index.php/fwupd for things to setup before using fwupdate"
-}
-
-post_upgrade() {
- if [ $(vercmp $2 10-1) -lt 0 ] ; then
- post_install
- fi
-}
More information about the arch-commits
mailing list