From 06010aa6271425dee5d06978e9430666aebef6bb Mon Sep 17 00:00:00 2001 From: Kevin Mihelich <kevin@plugapps.com> Date: Sat, 28 May 2011 15:06:10 -0400 Subject: [PATCH] Added aur/ti-connectivity --- aur/ti-connectivity/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 aur/ti-connectivity/PKGBUILD diff --git a/aur/ti-connectivity/PKGBUILD b/aur/ti-connectivity/PKGBUILD new file mode 100644 index 000000000..ee0e0b063 --- /dev/null +++ b/aur/ti-connectivity/PKGBUILD @@ -0,0 +1,44 @@ +# TI Connectivity OMAP4 Firmware package +# This provides the proper firmware for the wl12xx TI WiFi driver used on the PandaBoard +# Maintainer: Kevin Mihelich <kevin@plugapps.com> + +plugrel=1 +noautobuild=1 + +pkgname=ti-connectivity +pkgver=20110528 +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 +}