From 34e1e5e4066385336134ad7aee7d4257d188cc9d Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 25 Nov 2017 20:37:23 +0000 Subject: [PATCH] alarm/firmware-dragonboard410c to 1.4.0-2 --- .../PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename alarm/{firmware-dragonboard => firmware-dragonboard410c}/PKGBUILD (86%) diff --git a/alarm/firmware-dragonboard/PKGBUILD b/alarm/firmware-dragonboard410c/PKGBUILD similarity index 86% rename from alarm/firmware-dragonboard/PKGBUILD rename to alarm/firmware-dragonboard410c/PKGBUILD index 5c0c36697..168deaa12 100644 --- a/alarm/firmware-dragonboard/PKGBUILD +++ b/alarm/firmware-dragonboard410c/PKGBUILD @@ -2,14 +2,15 @@ buildarch=8 -pkgname=firmware-dragonboard +pkgname=firmware-dragonboard410c pkgver=1.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="Additional firmware for Dragonboard 410c" arch=('aarch64') url="https://archlinuxarm.org" license=('custom') makedepends=('bc') +replaces=('firmware-dragonboard') options=('!strip') source=("https://developer.qualcomm.com/download/db410c/firmware-410c-${pkgver}.bin") sha256sums=('822d2f8506d9657dbce6aa2bfce81ccbf97dcfc40831b70703b14b3f296fa4c0') @@ -22,5 +23,6 @@ package() { install -d "${pkgdir}/usr/lib/firmware" cp -a linux-board-support-package-v${pkgver%.0}/proprietary-linux/* "${pkgdir}/usr/lib/firmware" rm "${pkgdir}/usr/lib/firmware/firmware.tar" + rm "${pkgdir}"/usr/lib/firmware/a300_{pfp,pm4}.fw install -D -m644 linux-board-support-package-v${pkgver%.0}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }