Initial commit

This commit is contained in:
BigfootACA 2023-12-14 12:50:02 +08:00
commit 6adcc6ce3a
3 changed files with 102 additions and 0 deletions

17
.SRCINFO Normal file
View File

@ -0,0 +1,17 @@
pkgbase = qrtr
pkgdesc = Userspace reference for net/qrtr in the Linux kernel
pkgver = r95.d0d471c
pkgrel = 1
url = https://github.com/andersson/qrtr
arch = aarch64
groups = qcom-icnss-wlan
license = BSD-3-Clause
makedepends = git
makedepends = make
makedepends = gcc
depends = glibc
provides = qrtr
source = git+https://github.com/andersson/qrtr
md5sums = SKIP
pkgname = qrtr

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
/qrtr

32
PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
# Maintainer: BigfootACA <bigfoot@classfun.cn>
pkgname="qrtr"
pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
pkgver=r95.d0d471c
pkgrel=1
arch=("aarch64")
url="https://github.com/andersson/$pkgname"
license=("BSD-3-Clause")
groups=("qcom-icnss-wlan")
depends=("glibc")
makedepends=("git" "make" "gcc")
provides=("$pkgname")
source=("git+$url")
md5sums=("SKIP")
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
make prefix=/usr all
}
package() {
cd "$pkgname"
make prefix=/usr DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}