Initial commit

This commit is contained in:
BigfootACA 2024-05-17 09:16:35 +08:00
commit 3d55839508
3 changed files with 95 additions and 0 deletions

15
.SRCINFO Normal file
View File

@ -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

53
.gitignore vendored Normal file
View File

@ -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

27
PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: BigfootACA <bigfoot@classfun.cn>
_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"
}