# Maintainer : ko1N pkgver=0.1.1 pkgname=memflow-qemu-procfs-git pkgrel=2 pkgdesc="Qemu Procfs connector plugin for the memflow physical memory introspection framework" arch=(i686 x86_64) url="https://github.com/memflow/memflow-qemu-procfs" license=(MIT) makedepends=(git rust cargo) source=("git+https://github.com/memflow/memflow-qemu-procfs") sha256sums=("SKIP") build() { cd "${pkgname%-git}" cargo build --release --all-features } package() { cd "${pkgname%-git}/target/release" install -Dm755 libmemflow_qemu_procfs.so "${pkgdir}/usr/lib/memflow/qemu_procfs.so" install -Dm644 "../../LICENSE" "${pkgdir}/usr/share/licenses/memflow-qemu-procfs/LICENSE" }