1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

Add 'pscircle/' from commit 'fed8c9bd7bf686a6ab2ccf1d6b55a80b6b79f0ae'

git-subtree-dir: pscircle
git-subtree-mainline: af7c5994fa
git-subtree-split: fed8c9bd7b
This commit is contained in:
2023-04-09 09:47:25 +02:00
2 changed files with 41 additions and 0 deletions

27
pscircle/PKGBUILD Normal file
View File

@@ -0,0 +1,27 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=pscircle
pkgver=1.3.1
pkgrel=1
pkgdesc="visualizes Linux processes in a form of radial tree"
arch=(x86_64)
url="https://gitlab.com/mildlyparallel/pscircle"
depends=('cairo')
makedepends=('meson')
license=('GPL2')
source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
sha256sums=('29e278e34816be06b3355394b15a8db6b5818ddb305181be7dd408f4cdc43f43')
build() {
cd "$pkgname-v$pkgver"
mkdir -p build
cd build
meson --prefix /usr ..
ninja
}
package() {
cd "$pkgname-v$pkgver/build"
DESTDIR="$pkgdir" ninja install
install -Dt "$pkgdir/usr/lib/systemd/user" -m644 ../examples/pscircle.service
install -Dt "$pkgdir/usr/share/$pkgname/examples" -m755 ../examples/*.sh
}