core/ar9170-fw/PKGBUILD
2010-11-11 23:49:29 +01:00

29 lines
996 B
Bash

#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ar9170-fw
pkgver=1.0
pkgrel=2
pkgdesc="Firmware for the AR9170 wireless drivers"
arch=('any')
url="http://wireless.kernel.org/en/users/Drivers/ar9170"
license=('custom')
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}.tar.gz)
md5sums=('258fb8056e7522a44e07fa2172153893')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Install firmware
install -D -m644 ar9170.fw "${pkgdir}/lib/firmware/ar9170.fw" || return 1
install -D -m644 ar9170-1.fw "${pkgdir}/lib/firmware/ar9170-1.fw" || return 1
install -D -m644 ar9170-2.fw "${pkgdir}/lib/firmware/ar9170-2.fw" || return 1
# Install license
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}