Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: rtl8821cu-dkms-20210118
Date: Wed, 21 Sep 2022 23:36:09 +0200	[thread overview]
Message-ID: <20220921213609.zXgAGv8wecpsL9gak43qkNQGPZiFLfw1AMXeCuINFlo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39286@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/rtl8821cu-dkms
https://github.com/void-linux/void-packages/pull/39286

New package: rtl8821cu-dkms-20210118
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **MAYBE???**



A patch file from https://github.com/void-linux/void-packages/pull/39286.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/rtl8821cu-dkms-39286.patch --]
[-- Type: text/x-diff, Size: 1807 bytes --]

From 9d66084955ee26bd593e97c7a841b709c6b42960 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 14 Sep 2022 14:06:19 -0400
Subject: [PATCH] New package: rtl8821cu-dkms-20210118

---
 srcpkgs/rtl8821cu-dkms/template | 40 +++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/rtl8821cu-dkms/template

diff --git a/srcpkgs/rtl8821cu-dkms/template b/srcpkgs/rtl8821cu-dkms/template
new file mode 100644
index 000000000000..06a13223fbdd
--- /dev/null
+++ b/srcpkgs/rtl8821cu-dkms/template
@@ -0,0 +1,40 @@
+# Template file for 'rtl8821cu-dkms'
+pkgname=rtl8821cu-dkms
+version=20210118
+revision=1
+_modver=5.12.0
+_gitrev=76605e464119f0d56bf3a41866b58defd54464d8
+wrksrc="8821cu-${version}-${_gitrev}"
+depends="dkms"
+short_desc="Realtek 8811CU/8821CU/8731AU USB WiFi driver (DKMS)"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/morrownr/8821cu"
+distfiles="https://github.com/morrownr/8821cu-${version}/archive/${_gitrev}.tar.gz"
+checksum=5f0990c67839f1e6318da7d14d0e11a474a827543723d59e8eacdbc4bf742cb5
+dkms_modules="rtl8821cu ${_modver}"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*) _karch="x86_64";;
+	i686*) _karch="i386";;
+	aarch64*) _karch="arm64";;
+	arm*) _karch="arm";;
+	ppc*) _karch="powerpc";;
+	mips*) _karch="mips";;
+	*) broken="kernel arch not defined";;
+esac
+
+do_install() {
+	local dest=/usr/src/rtl8821cu-${_modver}
+
+	vmkdir ${dest}
+	for itm in dkms.conf rtl8821c.mk halmac.mk Kconfig Makefile platform core hal include os_dep; do
+		vcopy ${itm} ${dest}
+	done
+
+	vinstall rtw88_8821cu.conf 644 usr/lib/modprobe.d
+
+	# modules-load.d(5) file.
+	vmkdir usr/lib/modules-load.d
+	echo "8821cu" > ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+}

  parent reply	other threads:[~2022-09-21 21:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-14 18:07 [PR PATCH] " classabbyamp
2022-09-14 18:10 ` [PR PATCH] [Updated] " classabbyamp
2022-09-14 18:14 ` classabbyamp
2022-09-14 18:17 ` classabbyamp
2022-09-14 18:24 ` [PR REVIEW] " Anachron
2022-09-21 21:34 ` [PR PATCH] [Updated] " classabbyamp
2022-09-21 21:36 ` classabbyamp [this message]
2022-09-22 18:42 ` classabbyamp
2022-09-22 18:49 ` [PR PATCH] [Closed]: " classabbyamp
2022-09-22 18:49 ` classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220921213609.zXgAGv8wecpsL9gak43qkNQGPZiFLfw1AMXeCuINFlo@z \
    --to=classabbyamp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).