summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed028c56c8d0b4d976e541ad614f888f1e719394 (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-coredump-git
pkgrel=2
pkgdesc="Coredump connector plugin for the memflow physical memory introspection framework"
arch=(i686 x86_64)
url="https://github.com/memflow/memflow-coredump"
license=(MIT)
makedepends=(git rust cargo)
source=("git+https://github.com/memflow/memflow-coredump")
sha256sums=("SKIP")

build() {
  cd "${pkgname%-git}"
  cargo build --release --all-features
}

package() {
  cd "${pkgname%-git}/target/release"
  install -Dm755 libmemflow_coredump.so "${pkgdir}/usr/lib/memflow/coredump.so"
  install -Dm644 "../../LICENSE" "${pkgdir}/usr/share/licenses/memflow-coredump/LICENSE"
}