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, 14 Sep 2022 20:10:15 +0200	[thread overview]
Message-ID: <20220914181015.aA3VLFye9ienUQ0UfYNTLJDIUTMssaormAODlYqh1-U@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: 1772 bytes --]

From 1926c57940407d6e1123f72322a82566da89ab4d 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 | 37 +++++++++++++++++++++++++++++++++
 1 file changed, 37 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..290027efb8ca
--- /dev/null
+++ b/srcpkgs/rtl8821cu-dkms/template
@@ -0,0 +1,37 @@
+# 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/rtl8812au-${_modver}
+
+	vmkdir ${dest}
+	cp -r dkms.conf Kconfig Makefile platform core hal include os_dep ${DESTDIR}/${dest}
+
+	# modules-load.d(5) file.
+	vmkdir usr/lib/modules-load.d
+	echo "8821cu" > ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+	chmod 644 ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+}

  reply	other threads:[~2022-09-14 18:10 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 ` classabbyamp [this message]
2022-09-14 18:14 ` [PR PATCH] [Updated] " 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
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=20220914181015.aA3VLFye9ienUQ0UfYNTLJDIUTMssaormAODlYqh1-U@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).