summaryrefslogtreecommitdiff
path: root/community/xrestop/PKGBUILD
blob: 605520b7d5de7388363a5d61dc90ba503efc365e (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
# $Id: PKGBUILD 58682 2011-11-17 15:15:17Z spupykin $
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=xrestop
pkgver=0.4
pkgrel=3
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
}