From c1562a2a87eea21d271f640760e103524ae25d49 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 9 Aug 2012 21:17:48 +0000 Subject: [PATCH] alarm/raspberrypi-firmware: change packaging to fix mysterious v5 failure --- alarm/raspberrypi-firmware/PKGBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/alarm/raspberrypi-firmware/PKGBUILD b/alarm/raspberrypi-firmware/PKGBUILD index 58ea55944..b52dc67ee 100644 --- a/alarm/raspberrypi-firmware/PKGBUILD +++ b/alarm/raspberrypi-firmware/PKGBUILD @@ -32,8 +32,9 @@ package() { cp -R "${srcdir}"/firmware/boot "${pkgdir}"/boot mkdir -p "${pkgdir}"/opt/vc - [[ $CARCH == "arm" ]] && cp -R "${srcdir}"/firmware/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc - - [[ $CARCH == "armv6h" ]] && cp -R "${srcdir}"/firmware/hardfp/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc - + if [[ $CARCH == "arm" ]]; then + cp -R "${srcdir}"/firmware/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc + elif [[ $CARCH == "armv6h" ]]; then + cp -R "${srcdir}"/firmware/hardfp/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc + fi }