blob: 34ccf3336ad7c831a207ad35dc0e863e69c682f5 (
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.4.0
pkgrel=2
pkgdesc="visualizes Linux processes in a form of radial tree"
arch=(x86_64)
url="https://gitlab.com/mildlyparallel/pscircle"
depends=('cairo')
makedepends=('meson')
license=('GPL-2.0-or-later')
source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
sha256sums=('99a4fa1d7e4ca28b067c5c2bb977352b4e6fcb9eb22349c9d33456971f282d7f')
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
}
|