pkgname=rmtfs pkgver=0.2_git20200131 _commit="dfb8f3ed1c8fbde621cd08aaf9e7724a4c55cbd1" 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="bdb6f0e5a37b7456c06ad5ce657b1354d5c97657b448dc29cf5dd2729a180cb9fe0aae1761ca17917626311372f6a1c8c1b6a68cebb752b2b7376cbd7fbdd2e5 rmtfs-dfb8f3ed1c8fbde621cd08aaf9e7724a4c55cbd1.tar.gz 0b90447c035a4540f0d817978b1dc6c8344e1a885679788e1a24877c2739ed3466d5b2a3994cbbb0e2d7ed4fce2debd8b5971d33765c0198220ff0833de9f08c rmtfs.initd cb2435c159d81d3a40d30e1355c82a3d560dc2df7d05fee95085bc80e492ac93a728258f2f1b463c04a964979760990c8c9176b22cb585cbec19ab285cd45440 udev.rules"