summaryrefslogtreecommitdiff
path: root/pcr/uefitool
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-03-20 02:46:12 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-03-20 02:46:21 +0100
commitca8e9a70f7e1ece5091f79ac0a8d1a4e0aec956d (patch)
treeb8decd67cb7fe18641056e522574b051399384a7 /pcr/uefitool
parent6f134006f2b260999b067551225273307669ca55 (diff)
downloadabslibre-ca8e9a70f7e1ece5091f79ac0a8d1a4e0aec956d.tar.gz
abslibre-ca8e9a70f7e1ece5091f79ac0a8d1a4e0aec956d.tar.bz2
abslibre-ca8e9a70f7e1ece5091f79ac0a8d1a4e0aec956d.zip
pcr: update uefitool from AUR
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/uefitool')
-rw-r--r--pcr/uefitool/PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/pcr/uefitool/PKGBUILD b/pcr/uefitool/PKGBUILD
index 8c319a743..720b31e3c 100644
--- a/pcr/uefitool/PKGBUILD
+++ b/pcr/uefitool/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=uefitool
_pkgname=UEFITool
_tools=('UEFIPatch' 'UEFIReplace')
pkgver=0.27.0
-pkgrel=1
+pkgrel=2
pkgdesc='UEFI firmware image viewer and editor and utilities'
arch=('armv7h' 'i686' 'x86_64')
url='https://github.com/LongSoft/UEFITool'
@@ -25,26 +25,26 @@ _build() {
build() {
# UEFITool
- cd "$srcdir/${_pkgname}-${pkgver}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
_build
# Other tools
for tool in "${_tools[@]}"; do
- cd "$srcdir/${_pkgname}-${pkgver}/${tool}"
+ cd "${srcdir}/${_pkgname}-${pkgver}/${tool}"
_build
done
}
package() {
# UEFITool
- cd "$srcdir/${_pkgname}-${pkgver}"
- install -d -m755 "$pkgdir/usr/bin/"
- install -D -m755 UEFITool "$pkgdir/usr/bin/"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ install -d -m755 "${pkgdir}/usr/bin/"
+ install -D -m755 UEFITool "${pkgdir}/usr/bin/"
# Other tools
for tool in "${_tools[@]}"; do
- install -D -m755 "$tool/$tool" "$pkgdir/usr/bin/${tool,,}"
+ install -D -m755 "${tool}/${tool}" "${pkgdir}/usr/bin/${tool}"
done
# Install patches.txt
- install -D -m644 UEFIPatch/patches.txt "$pkgdir/usr/share/$pkgname/patches.txt"
+ install -D -m644 UEFIPatch/patches.txt "${pkgdir}/usr/share/${pkgname}/patches.txt"
# License
- install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}