# Maintainer: Minecrell pkgname=rmtfs pkgver=0.2_git20201113 _commit="417f04a9a76321fca6d2127d0b36fad468ec99e0" pkgrel=0 pkgdesc="Qualcomm Remote Filesystem Service Implementation" url="https://github.com/andersson/rmtfs" arch="all" license="BSD-3-Clause" makedepends="eudev-dev qrtr-dev" subpackages="$pkgname-doc $pkgname-openrc" source=" rmtfs-$_commit.tar.gz::https://github.com/andersson/rmtfs/archive/$_commit.tar.gz rmtfs.initd udev.rules " builddir="$srcdir/rmtfs-$_commit" options="!check" build() { make rmtfs } package() { install -Dm755 rmtfs "$pkgdir"/usr/sbin/rmtfs install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname" install -Dm644 "$srcdir/udev.rules" "$pkgdir/usr/lib/udev/rules.d/65-$pkgname.rules" install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="263b958b7fa29f921f2bb5e1051e46aeb836abe56ce636178a46a677312c813079ac32af98552de6499a255f47077627ac25f3b3c9ea843dd20b7ae90b104f82 rmtfs-417f04a9a76321fca6d2127d0b36fad468ec99e0.tar.gz e7cff3fb61a377924b1e526bea87a9d0bccae05f341d456a50885123c68c0f185752c057c689a20b1a05605a4111feb9de59fb6ce1505cbc6b38ed395248ccf4 rmtfs.initd cb2435c159d81d3a40d30e1355c82a3d560dc2df7d05fee95085bc80e492ac93a728258f2f1b463c04a964979760990c8c9176b22cb585cbec19ab285cd45440 udev.rules"