blob: 1e1e3f131f5bd31354f2e1f67a711ec7d348e318 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: © 2024-present Gene C <arch@sapience.com>
#
# Arch Linux PKGBUILD for process-mem
# This builds the latest release tag.
# git HEAD is also well tested.
#
# Maintainer: Gene C <arch@sapience.com>
# Contributor:
#
pkgname='process-mem'
pkgdesc='Display Memory Used by Process(es)'
_gitname='process-mem'
pkgver=1.2.0
pkgrel=1
url="https://github.com/gene-git/process-mem"
arch=(any)
license=(MIT)
# To build docs uncommont sphinx/texlive
depends=('python>=3.11' 'python-pydantic' 'python-psutil')
makedepends=('git' 'python-build' 'python-wheel' 'python-hatch' 'rsync'
'python-docutils'
)
# Used by package : mkpkg
_mkpkg_depends=('python>minor')
source=("git+https://github.com/gene-git/${_gitname}#tag=${pkgver}")
sha512sums=('SKIP')
build() {
cd "${_gitname}"
/usr/bin/rm -f dist/*
/usr/bin/python -m build --wheel --no-isolation
echo "Build man page"
cd ./Docs
make
}
package() {
cd "${_gitname}"
./scripts/do-install ${pkgdir}
}
# vim:set ts=4 sts=4 sw=4 et:
|