Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: rtl8821cu-dkms-20210118
@ 2022-09-14 18:07 classabbyamp
  2022-09-14 18:10 ` [PR PATCH] [Updated] " classabbyamp
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: classabbyamp @ 2022-09-14 18:07 UTC (permalink / raw)
  To: ml

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

There is a new 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: 1776 bytes --]

From 1de5509913be15fcdf5e7a8ca24eac6e6bb19ab2 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..97029286a259
--- /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-3.0-or-later"
+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
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-09-22 18:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 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
2022-09-22 18:42 ` classabbyamp
2022-09-22 18:49 ` classabbyamp
2022-09-22 18:49 ` [PR PATCH] [Closed]: " classabbyamp

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).