summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 133fb66436f592fc4567df99e99efa2c3e5efd22 (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: Jefferson Carneiro < slackjeff at slackjeff dot com dot br >
# Contribuitor: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=xrestop
pkgver=0.6
pkgrel=3
pkgdesc="A 'top' like tool for monitoring X Client server resource usage."
arch=('x86_64')
url="https://gitlab.freedesktop.org/xorg/app/xrestop"
license=('GPL-2.0-or-later')
depends=('glibc' 'libx11' 'libxres' 'ncurses')
source=(https://xorg.freedesktop.org/archive/individual/app/$pkgname-$pkgver.tar.gz)
md5sums=('1c11bc50190bdc6091bc72ed2991300f')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}