commit:     cf49be0d23d3635f722c887dc0f6d5178fabb514
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Mar 17 15:51:32 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Mar 17 15:51:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf49be0d

net-wireless/rtl8821cu: fix multiple issues, please read details

If you overwrite src_prepare, be sure to call default or eapply_user
emerge will fail if it is missing.

Patches can also go in the patches variable

All the functions here are already added by inheriting the eclass
so there's no need to specify them manually

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild 
b/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild
index 7a92b24..b4498c4 100644
--- a/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild
+++ b/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild
@@ -19,24 +19,3 @@ S="${WORKDIR}/rtl8821CU-${COMMIT}"
 
 MODULE_NAMES="8821cu(net/wireless)"
 BUILD_TARGETS="all"
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-}
-
-pkg_setup() {
-       linux-mod_pkg_setup
-}
-
-src_compile(){
-       linux-mod_src_compile
-}
-
-src_install() {
-       linux-mod_src_install
-}
-
-pkg_postinst() {
-       linux-mod_pkg_postinst
-}

Reply via email to