diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-20 00:38:46 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-20 00:38:46 +0000 |
commit | f83437f821dbb9e2ca20969d868eb45b2852d702 (patch) | |
tree | 592ad7f9fe1b52279dbbcc1dfc2e25dec77d5875 /sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.4.1.ebuild | |
parent | 83201aa2d3bdf8b0553ff09bee99562dbbc7f020 (diff) |
net-wireless/rtl8821cu && sys-kernel/rtl8821cu-dkms : new packages
Diffstat (limited to 'sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.4.1.ebuild')
-rw-r--r-- | sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.4.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.4.1.ebuild b/sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.4.1.ebuild new file mode 100644 index 00000000..e863d295 --- /dev/null +++ b/sys-kernel/rtl8821cu-dkms/rtl8821cu-dkms-5.4.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="master" + +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 +} |