updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rt3090 / PKGBUILD
blob2a7ed1307b773f0b083f5e1a435c04da6e3f9ada
1 # Contributor Alper Kanat <alperkanat@raptiye.org>
2 # Contributor Jaeic Lee <zeraxeal@gmail.com>
3 # Based on rt2860 package from Marius Dransfeld <marius.dransfeld@gmail.com>
5 pkgname="rt3090"
6 pkgver="2.4.0.1_20101110"
7 pkgrel=1
8 pkgdesc="Drivers for rt3090 chipset wireless cards"
9 arch=("i686" "x86_64")
10 url="http://www.ralinktech.com/"
11 license="GPL"
12 depends=("kernel26>=2.6.35" "kernel26<2.6.36")
13 makedepends=("kernel26-headers>=2.6.35" "kernel26-headers<2.6.36")
14 conflicts=("rt2860")
15 install="rt3090.install"
17 _kernver="2.6.35-ARCH"
18 _distname="DPO_RT3090_LinuxSTA_V${pkgver}_WiFiBTCombo_RFKill"
19 source=("noinstall.diff" "$_distname.bz2::http://www.ralinktech.com/download.php?t=U0wyRnpjMlYwY3k4eU1ERXdMekV4THpFeEwyUnZkMjVzYjJGa05UTTNPVE00TkRVek55NWllakk5UFQxRVVFOWZVbFF6TURrd1gweHBiblY0VTFSQlgxWXlMalF1TUM0eFh6SXdNVEF4TVRFd1gxZHBSbWxDVkVOdmJXSnZYMUpHUzJsc2JBPT1D")
20 md5sums=("7ab489cc1704ff45f727d2ad6d955d94"
21          "18be1791e23a35cdfd78497e90f0cbcd")
23 build() {
24         # Upstream puts a tarball inside a bzip2 compressed tarball, for
25         # some reason.
26         tar xf $_distname.tar
27         
28         patch -p0 < $srcdir/noinstall.diff
30         cd $_distname
31         make
34 package() {
35         cd $_distname
37         install -Dm644 RT2860STA.dat \
38                 $pkgdir/etc/Wireless/RT2860STA/RT2860STA.dat
39         install -Dm644 os/linux/rt3090sta.ko \
40                 $pkgdir/lib/modules/$_kernver/kernel/drivers/net/wireless/rt3090sta.ko