diff options
author | Mirco Tischler | 2015-06-24 18:38:01 +0200 |
---|---|---|
committer | Mirco Tischler | 2015-06-24 18:38:01 +0200 |
commit | e231a127e73ff9c87b447b8d7da17e2ee357329e (patch) | |
tree | 8239c418e590cb94430c568e7ebbde8a2e5a7cab | |
download | aur-e231a127e73ff9c87b447b8d7da17e2ee357329e.tar.gz |
fwupdate: version 0.4-1
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..369452988764 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = fwupdate + pkgdesc = Tools for using the ESRT and UpdateCapsule() to apply firmware updates + pkgver = 0.4 + pkgrel = 1 + url = https://github.com/rhinstaller/fwupdate + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = pesign + depends = efivar + source = fwupdate-0.4.tar.gz::https://github.com/rhinstaller/fwupdate/archive/0.4.tar.gz + sha256sums = 83ec7b2bf8d3bc37c6a60044d964503233c359150bcdb6f30e9f01ef1edd97dd + +pkgname = fwupdate + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..91055f8c28b4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Mirco Tischler <mt-ml at gmx dot de> + +pkgname=fwupdate +pkgver=0.4 +pkgrel=1 +pkgdesc='Tools for using the ESRT and UpdateCapsule() to apply firmware updates' +arch=('i686' 'x86_64') +url='https://github.com/rhinstaller/fwupdate' +license=('GPL2') +depends=('efivar') +makedepends=('pesign') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('83ec7b2bf8d3bc37c6a60044d964503233c359150bcdb6f30e9f01ef1edd97dd') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make GNUEFIDIR=/usr/lib +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make LIBDIR=/usr/lib DESTDIR="${pkgdir}" install + + #don't install into /boot. copy files to /usr/lib/fwupdate for manual installation + install -d ${pkgdir}/usr/lib/fwupdate + mv ${pkgdir}/boot/efi/EFI ${pkgdir}/usr/lib/fwupdate/EFI + rm -rf ${pkgdir}/boot +} |