From 58bce8820e66a3c12db850ce92a303cacc173d42 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sun, 25 Jun 2023 20:02:34 +0500 Subject: [PATCH] net-wireless/rtl8192eu: code style Signed-off-by: Anna (cybertailor) Vyalkova --- .../rtl8192eu/rtl8192eu-0_pre20230613.ebuild | 24 +++++++------------ 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild b/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild index 0160d4c5fe..f2577a1845 100644 --- a/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild +++ b/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild @@ -2,32 +2,26 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit linux-mod-r1 -SLOT=0 -COMMIT="f2fc8af7ab58d2123eed1aa4428e713cdfc27976" +inherit linux-mod-r1 + +MY_PN="rtl8192eu-linux-driver" +COMMIT="f2fc8af7ab58d2123eed1aa4428e713cdfc27976" DESCRIPTION="Realtek 8192EU driver module for Linux kernel" HOMEPAGE="https://github.com/Mange/rtl8192eu-linux-driver" -SRC_URI="https://github.com/Mange/rtl8192eu-linux-driver/archive/${COMMIT}.tar.gz -> rtl8192eu-${PV}.tar.gz" +SRC_URI="https://github.com/Mange/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${COMMIT}" +SLOT=0 LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" -DEPEND="virtual/linux-sources" - -S="${WORKDIR}/rtl8192eu-linux-driver-${COMMIT}" - CONFIG_CHECK="~!RTL8XXXU" ERROR_RTL8XXXU="The RTL8XXXXU module is enabled in the kernel; it conflicts with this module." src_compile() { - linux-mod-r1_pkg_setup - local modlist=(8192eu=net/wireless) - local modargs=(KSRC=$KV_OUT_DIR) + local modlist=( 8192eu=net/wireless ) + local modargs=( KSRC="${KV_OUT_DIR}" ) linux-mod-r1_src_compile } - -src_install() { - linux-mod-r1_src_install -}