core/rt2x00-rt71w-fw/PKGBUILD
2010-05-16 15:08:55 +00:00

23 lines
749 B
Bash

# $Id: PKGBUILD 59434 2009-11-23 21:13:35Z giovanni $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=rt2x00-rt71w-fw
pkgver=1.8
pkgrel=4
pkgdesc="Firmware for the rt2x00 wireless drivers"
arch=('any')
url="http://www.ralinktech.com/"
license=('custom')
depends=()
source=(ftp://ftp.archlinux.org/other/rt2x00-rt71w-fw/RT71W_Firmware_V${pkgver}.zip)
md5sums=('1e7a5dc574e0268574fcda3fd5cf52f7')
build() {
cd "${srcdir}/RT71W_Firmware_V${pkgver}"
# Install firmware
install -D -m 644 rt73.bin "${pkgdir}/lib/firmware/rt73.bin" || return 1
# Install license
install -D -m 644 LICENSE.ralink-firmware.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}