summaryrefslogtreecommitdiff
path: root/community/xrestop/PKGBUILD
blob: 141e97f53e3283619f5629c962ab297e757e7dba (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
# $Id: PKGBUILD 65269 2012-02-20 12:43:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=xrestop
pkgver=0.4
pkgrel=4
pkgdesc="Uses the X-Resource extension to provide 'top' like statistics"
arch=('i686' 'x86_64' 'mips64el')
url="http://freedesktop.org/wiki/Software/xrestop"
license=('GPL')
depends=('libxres' 'ncurses')
source=(ftp://ftp.archlinux.org/other/community/xrestop/xrestop-$pkgver.tar.gz)
md5sums=('d8a54596cbaf037e62b80c4585a3ca9b')

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

package() {
  cd "$srcdir/xrestop-$pkgver"
  make DESTDIR="$pkgdir" install
}