summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 35c022f4c154dc3b8fd8a06ca020724366e76e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer : ko1N <ko1N1337@gmail.com>

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"
}