summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzebulon2017-09-18 21:21:21 +0100
committerzebulon2017-09-18 21:21:21 +0100
commit2637703b12dc56a2313c5b07e94a1e3db7f8c6cf (patch)
tree9e8158e045e341e24258b604e7748bfea3953b01
downloadaur-2637703b12dc56a2313c5b07e94a1e3db7f8c6cf.tar.gz
initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD34
-rw-r--r--dkms.conf8
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5ebf1ff3106
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = rtl8814au-dkms-git
+ pkgdesc = RTL8814AU and RTL8813AU chipset driver with firmware v4.3.21
+ pkgver = 4.3.21.r19.gb6b6d56
+ pkgrel = 1
+ url = https://github.com/zebulon2/rtl8814au
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ makedepends = bc
+ depends = dkms
+ conflicts = rtl8814au
+ source = git+https://github.com/zebulon2/rtl8814au.git
+ source = dkms.conf
+ sha256sums = SKIP
+ sha256sums = c502336101fb2a1e3753836392f4eaecdee246c1bdc8af207b4ee154e6c1a631
+
+pkgname = rtl8814au-dkms-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7babbc9c504
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: zebulon <zeb (at)zebulon(dot)org(dot)uk>
+# Contributor: NovaMoon <novamoon1 (at)gmail(dot)com>
+
+pkgname=rtl8814au-dkms-git
+_pkgbase=rtl8814au
+pkgver=4.3.21.r19.gb6b6d56
+pkgrel=1
+pkgdesc="RTL8814AU and RTL8813AU chipset driver with firmware v4.3.21"
+arch=('i686' 'x86_64')
+url="https://github.com/zebulon2/rtl8814au"
+license=('GPL2')
+depends=('dkms')
+makedepends=('git' 'bc')
+conflicts=("${_pkgbase}")
+source=("git+https://github.com/zebulon2/rtl8814au.git"
+ 'dkms.conf')
+sha256sums=('SKIP'
+ 'c502336101fb2a1e3753836392f4eaecdee246c1bdc8af207b4ee154e6c1a631')
+
+pkgver() {
+ cd ${srcdir}/rtl8814au
+ printf '%s.r%s.g%s' '4.3.21' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd ${srcdir}/rtl8814au
+ mkdir -p ${pkgdir}/usr/src/${_pkgbase}-${pkgver}
+ cp -pr * ${pkgdir}/usr/src/${_pkgbase}-${pkgver}
+ cp ${srcdir}/dkms.conf ${pkgdir}/usr/src/${_pkgbase}-${pkgver}
+ # Set name and version
+ sed -e "s/@_PKGBASE@/${_pkgbase}-dkms/" \
+ -e "s/@PKGVER@/${pkgver}/" \
+ -i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
+}
diff --git a/dkms.conf b/dkms.conf
new file mode 100644
index 00000000000..8e637703a0c
--- /dev/null
+++ b/dkms.conf
@@ -0,0 +1,8 @@
+PACKAGE_NAME="@_PKGBASE@"
+PACKAGE_VERSION="@PKGVER@"
+MAKE="'make' KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build"
+CLEAN="make clean"
+BUILT_MODULE_NAME="8814au"
+DEST_MODULE_LOCATION=/kernel/drivers/net/wireless
+REMAKE_INITRD=no
+AUTOINSTALL="yes"