summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 738f14f686caf56e534ed34985d6b9318516d19f (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
# 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
}