PKGBUILDs/alarm/ti-connectivity/PKGBUILD

44 lines
1 KiB
Bash
Raw Normal View History

2011-05-28 19:06:10 +00:00
# TI Connectivity OMAP4 Firmware package
# This provides the proper firmware for the wl12xx TI WiFi driver used on the PandaBoard
2012-11-01 02:12:17 +00:00
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
2011-05-28 19:06:10 +00:00
2012-06-11 22:03:06 +00:00
buildarch=4
2011-05-28 19:06:10 +00:00
pkgname=ti-connectivity
2012-11-01 02:12:17 +00:00
pkgver=20121031
2011-05-28 19:06:10 +00:00
pkgrel=1
pkgdesc="TI Connectivity OMAP4 Firmware for wl12xx"
arch=('arm')
url="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git"
license=('GPL')
makedepends=('git')
_gitroot="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git"
_gitname="linux-firmware"
build() {
cd $srcdir
## Git checkout
if [ -d $srcdir/${_gitname} ] ; then
msg "Git checkout: Updating existing tree"
cd ${_gitname} && git pull
msg "Git checkout: Tree has been updated"
else
msg "Git checkout: Retrieving sources"
git clone --depth 1 ${_gitroot}
fi
msg "Checkout completed"
}
package() {
cd $srcdir/${_gitname}
# create directory structure
install -d $pkgdir/lib/firmware/ti-connectivity
# copy everything
cp ti-connectivity/* $pkgdir/lib/firmware/ti-connectivity
}