# Maintainer: Maksim Bondarenkov # Contributor: Wu Zhenyu _realname=bottom pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=0.12.3 pkgrel=1 pkgdesc="A graphical process/system monitor (mingw-w64)" arch=('any') mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') url="https://github.com/ClementTsang/bottom" msys2_repository_url='https://github.com/ClementTsang/bottom' msys2_documentation_url="https://clementtsang.github.io/bottom/${pkgver}" msys2_references=( 'archlinux: bottom' 'gentoo: sys-process/bottom' 'purl: pkg:cargo/bottom' ) license=('spdx:MIT') makedepends=("${MINGW_PACKAGE_PREFIX}-rust" "git") options=('!strip') source=("git+${url}.git#tag=${pkgver}" "ntapi-rs.tar.gz::https://crates.io/api/v1/crates/ntapi/0.4.1/download" "ntapi-link-ntdll-arm64.patch") sha256sums=('49285284b975997786b8ee04ec451483cc77ab68353228311f259ce671de3b98' 'e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4' '9994d5b61f020f85f67df54c56c793bd4faf41e39b62ddd4e67c482b9a11b73e') prepare() { cd "${_realname}" cat >> Cargo.toml <