blob: 6de028b4ac12f7aabd6066fd26b55f3a62657ed1 (
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
|
# 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.4r29.1dd66f8
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')
pkgver() {
cd ${pkgname%-git}
printf "0.4r%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
}
|