From a52ede6b4a070eddf8461cd3018f1e009820f41a Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 11 Dec 2021 02:38:54 +0000 Subject: [PATCH] added aur/rmtfs-git --- aur/rmtfs-git/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 aur/rmtfs-git/PKGBUILD diff --git a/aur/rmtfs-git/PKGBUILD b/aur/rmtfs-git/PKGBUILD new file mode 100644 index 000000000..1b1d39dcd --- /dev/null +++ b/aur/rmtfs-git/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Jami Kettunen + +buildarch=8 + +_pkgname="rmtfs" +pkgname="$_pkgname-git" +pkgdesc="Qualcomm Remote Filesystem Service Implementation" +pkgver=r57.b08ef6f +pkgrel=1 +arch=("aarch64") +url="https://github.com/andersson/$_pkgname" +license=("BSD-3-Clause") +groups=("qcom-icnss-wlan") +depends=("qrtr" "systemd") +makedepends=("git" "make" "gcc") +provides=("$_pkgname") +source=("git://github.com/andersson/$_pkgname.git" "udev.rules") +md5sums=("SKIP" "1e827788992863c3e8562e288f65ee05") + +pkgver() { + cd "$_pkgname" + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$_pkgname" + + make prefix=/usr +} + +package() { + cd "$_pkgname" + + make prefix=/usr DESTDIR="$pkgdir/" install + install -Dm644 "$srcdir"/udev.rules "$pkgdir/usr/lib/udev/rules.d/65-$_pkgname.rules" + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$_pkgname/COPYING +}