# Maintainer: Jami Kettunen # Maintainer: BigfootACA pkgname="rmtfs" pkgdesc="Qualcomm Remote Filesystem Service Implementation" pkgver=r58.695d066 pkgrel=1 arch=("aarch64") url="https://github.com/linux-msm/$pkgname" license=("BSD-3-Clause") groups=("qcom-icnss-wlan") depends=("qrtr" "libudev.so") makedepends=("git" "make" "gcc") source=("git+$url" "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/LICENSE }