diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-20 02:05:46 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-20 02:05:46 +0000 |
commit | 8384db39a4d968cadf265ca2270335306ed96d0f (patch) | |
tree | b43fc87252d00b872fdc8380d348049e098d6e45 /sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild | |
parent | f83437f821dbb9e2ca20969d868eb45b2852d702 (diff) |
net-wireless/rtl8821cu && sys-kernel/rtl8821cu-dkms : version bump (v5.8.1)
Diffstat (limited to 'sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild')
-rw-r--r-- | sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.8.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
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 +} |