summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ad4e6a1cc7d535c1728a1e5da98b58417ce7d2dd (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
# Maintainer: TJM <tommy.mairo@gmail.com>
pkgname=rtl8192eu
pkgver=4.3.1.1
pkgrel=1
pkgdesc="Driver for the Realtek8192eu chipset"
arch=("x86_64")
url="https://github.com/Mange/rtl8192eu-linux-driver"
license=('GPL')
depends=("dkms")
makedepends=('linux-headers' 'git')
source=("git+https://github.com/Mange/rtl8192eu-linux-driver.git#commit=a322c84595b526fc27b979109998188b4ff8042e")
install=${pkgname}.install
md5sums=('SKIP')

build() {
	
	cd "rtl8192eu-linux-driver"
	make
}
prepare(){
	cd "rtl8192eu-linux-driver"
	sed -i '1341i\	install -d $(MODDESTDIR)' Makefile
	sed -i 's/$(MODDESTDIR)/$(DESTDIR)$(MODDESTDIR)/g' Makefile
}
package() {
	cd "rtl8192eu-linux-driver"
	make DESTDIR="$pkgdir/usr/" install
}