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

23 lines
791 B
Bash

# $Id: PKGBUILD 59445 2009-11-24 00:06:36Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alois Nespor <alois.nespor@gmail.com>
pkgname=rt2870usb-fw
pkgver=8
pkgrel=1
pkgdesc="Firmware for RaLink RT2870USB (RT2870/RT2770) WiFi adapter"
url="http://web.ralinktech.com/ralink/Home/Support/Linux.html"
arch=('any')
license=('custom')
depends=()
source=(ftp://ftp.archlinux.org/other/rt2870usb-fw/RT2870_Firmware_V$pkgver.zip)
md5sums=('a7aae1d8cfd68e4d86a73000df0b6584')
build() {
cd "${srcdir}/RT2870_Firmware_V${pkgver}"
# Install firmware
install -D -m 644 rt2870.bin "${pkgdir}/lib/firmware/rt2870.bin" || return 1
# Install license
install -D -m 644 LICENSE.ralink-firmware.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}