summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c4d548248bd9c040a625acafe076b3eceae340c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Bill Kolokithas <kolokithas.b@gmail.com>

pkgname=rtl8187se
pkgver=4.0
pkgrel=1
pkgdesc="Realtek PCI Express wireless driver for use in newer kernels"
arch=('i686' 'x86_64')
url="https://github.com/freestyl3r/rtl8187se"
license=('GPL2')
makedepends=('linux-headers')
provides=('r8187se')
source=("https://github.com/freestyl3r/$pkgname/archive/$pkgver.tar.gz"
		"$pkgname.install")

install=$pkgname.install
md5sums=('25be1f0db4ee448f7823b7fddda8abe2'
         '0f682bf6f9116dc5bc086fcfce769389')


build() {
	cd $pkgname-$pkgver
	make
}

package() {
	cd $pkgname-$pkgver
	_extramodules=extramodules-`uname -r | cut -d . -f 1,2`-ARCH
	install -Dm644 r8187se.ko "$pkgdir/lib/modules/$_extramodules/r8187se.ko"
	gzip "$pkgdir/lib/modules/$_extramodules/r8187se.ko"
}