From 3d558395080b47566b8d2bbf9048d6352f65b350 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Fri, 17 May 2024 09:16:35 +0800 Subject: [PATCH] Initial commit --- .SRCINFO | 15 +++++++++++++++ .gitignore | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ PKGBUILD | 27 +++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..101f5c6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = linux-firmware-ayn-odin2 + pkgdesc = Firmware files for Linux + pkgver = r1.4316ad6 + pkgrel = 1 + epoch = 1 + url = https://gitea.classfun.cn:4443/renegade-project/linux-firmware-qcom + arch = aarch64 + license = custom + makedepends = git + makedepends = rsync + options = !strip + source = git+https://gitea.classfun.cn:4443/renegade-project/linux-firmware-qcom#branch=qcs8550/ayn/odin2 + sha256sums = SKIP + +pkgname = linux-firmware-ayn-odin2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a0f10fb --- /dev/null +++ b/.gitignore @@ -0,0 +1,53 @@ +*.rej +*.orig +*.swp +*.save* +*.o +*.a +*.out +*.lib +*.obj +*.dll +*.so +*.exe +*.gch +*.plist +*.mo +*.gmo +*.fd +*.iso +*.img +*.img.* +*.qcow2 +*.vhd +*.vdi +*.vmdk +*.cpio +*.cpio.* +*.ttf +*.ttc +*.pcf +*.pcf.* +*.efi +*.pkg.tar.* +vgcore.* +/build* +initramfs*.* +initrd*.* +System.map* +/cmake-build-* +/.idea +/.vscode +/.cache +CMakeCache.txt +CMakeFiles +Makefile +cmake_install.cmake +node_modules +package.json +package-lock.json +fonts.scale +fonts.dir +/src +/pkg +/linux-firmware-qcom diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..d57697d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: BigfootACA + +_pkgname=linux-firmware-qcom +pkgname=linux-firmware-ayn-odin2 +pkgver=r1.4316ad6 +pkgrel=1 +epoch=1 +pkgdesc="Firmware files for Linux" +arch=(aarch64) +url="https://gitea.classfun.cn:4443/renegade-project/$_pkgname" +license=(custom) +options=(!strip) +makedepends=(git rsync) +source=("git+$url#branch=qcs8550/ayn/odin2") +sha256sums=(SKIP) + +pkgver() { + cd "${_pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + src="${_pkgname}/firmware/" + dest="${pkgdir}/usr/lib/firmware/" + mkdir -pv "${dest}" + rsync -ar --delete --info=progress2 "$src" "$dest" +}