commit 6adcc6ce3a07d608cf783ced78d1d492460748af Author: BigfootACA Date: Thu Dec 14 12:50:02 2023 +0800 Initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..d56a735 --- /dev/null +++ b/.SRCINFO @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f6a4fc --- /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 +/qrtr diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..19a382d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Jami Kettunen +# Maintainer: BigfootACA + +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 +}