From 8384db39a4d968cadf265ca2270335306ed96d0f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 20 Feb 2020 02:05:46 +0000 Subject: net-wireless/rtl8821cu && sys-kernel/rtl8821cu-dkms : version bump (v5.8.1) --- .../rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild (limited to 'sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild') diff --git a/sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild b/sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild new file mode 100644 index 00000000..52a102b2 --- /dev/null +++ b/sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils git-r3 + +DESCRIPTION="Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux" +HOMEPAGE="https://github.com/brektrou/rtl8821CU" + +EGIT_REPO_URI="https://github.com/brektrou/rtl8821CU.git" +EGIT_BRANCH="5.8.1" + +LICENSE="GPL-2" +KEYWORDS="amd64" +SLOT="0" +RESTRICT="mirror" + +DEPEND="sys-kernel/dkms" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}" + +src_prepare() { + cp "${FILESDIR}"/dkms.conf "${S}" || die +} + +src_compile(){ + : +} + +src_install() { + dodir usr/src/${P} + insinto usr/src/${P} + doins -r "${S}"/* +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} -- cgit v1.2.3