summaryrefslogtreecommitdiff
path: root/community/xrestop/PKGBUILD
blob: 3ecb583129be688dad10425b2f2e1f8fcbc9b6ea (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')
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
}