summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 85ce26d7ca3677b5e37261ae300058f39fc5cd80 (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
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=xrestop-git
pkgver=0.4.r33.956c0e1
pkgrel=1
pkgdesc="Uses the X-Resource extension to provide 'top' like statistics"
arch=('x86_64')
url="http://freedesktop.org/wiki/Software/xrestop"
license=('GPL')
depends=('libxres' 'ncurses')
source=(git+https://gitlab.freedesktop.org/xorg/app/xrestop)
md5sums=('SKIP')
conflicts=('xrestop')
provides=('xrestop')

pkgver() {
  cd ${pkgname%-git}
  printf "0.4.r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}

build() {
  cd ${pkgname%-git}
  ./autogen.sh --prefix=/usr --mandir=/usr/share/man 
  #./configure 
  make
}

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