mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
alarm/raspberrypi-firmware add xbmc-rbp-git.conf and /opt/src
This commit is contained in:
parent
8f0e074e90
commit
12e3eaa137
1 changed files with 9 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
buildarch=18
|
||||
|
||||
pkgname=raspberrypi-firmware
|
||||
pkgver=20121229
|
||||
pkgver=20130107
|
||||
pkgrel=1
|
||||
pkgdesc="Firmware files for Raspberry Pi"
|
||||
arch=('any')
|
||||
|
@ -33,8 +33,14 @@ package() {
|
|||
mkdir -p "${pkgdir}"/opt/vc
|
||||
|
||||
if [[ $CARCH == "arm" ]]; then
|
||||
cp -R "${srcdir}"/firmware/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc
|
||||
cp -R "${srcdir}"/firmware/opt/vc/{bin,include,lib,sbin,src,LICENCE} "${pkgdir}"/opt/vc
|
||||
elif [[ $CARCH == "armv6h" ]]; then
|
||||
cp -R "${srcdir}"/firmware/hardfp/opt/vc/{bin,include,lib,sbin,LICENCE} "${pkgdir}"/opt/vc
|
||||
cp -R "${srcdir}"/firmware/hardfp/opt/vc/{bin,include,lib,sbin,src,LICENCE} "${pkgdir}"/opt/vc
|
||||
fi
|
||||
|
||||
# Create lib links
|
||||
mkdir -p "${pkgdir}"/etc/ld.so.conf.d/
|
||||
|
||||
# ensure we can load libs
|
||||
echo "/opt/vc/lib/" > "${pkgdir}"/etc/ld.so.conf.d/xbmc-rbp-git.conf
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue