# Maintainer: Minecrell pkgname=rmtfs pkgver=0.2_git20220718 _commit="695d0668ffa6e2a4bf6e676f3c58a444a5d67690" pkgrel=1 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 0001-add-modem_tng-alias-for-tunning-partition.patch " 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=" 3ccd33ad29c1a485eea475ee54d5984f560cdda99d356e17b315f1cd718c2e9f1992fdc76269877bcbdf8ee2b82476a7738d0b1abb50cbed5c386ee11043010e rmtfs-695d0668ffa6e2a4bf6e676f3c58a444a5d67690.tar.gz b75a2e051661b6088c3db7071fc2f43b97ecf68a0c35addefd34f6fa11d23429a890313d14791566dfc97230192b999e4cc953797e6e32d07dc8f6c61813f9f3 rmtfs.initd cb2435c159d81d3a40d30e1355c82a3d560dc2df7d05fee95085bc80e492ac93a728258f2f1b463c04a964979760990c8c9176b22cb585cbec19ab285cd45440 udev.rules 2c48e3e97838eb2b779075263ef688bc48dde5cc9fc8f055e8ee67cc115228ab59e9466faa89dd817812ee9e3219e8ca331d766e84ad383a1b9706cbbdc2c6fd 0001-add-modem_tng-alias-for-tunning-partition.patch "