summaryrefslogtreecommitdiff
path: root/community/xrestop/PKGBUILD
blob: 4aa47dbd5849157703fa9f0aa0fab3d8d96ebc33 (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
# $Id: PKGBUILD 23510 2010-08-11 21:54:23Z lcarlier $
# 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=(http://projects.o-hand.com/sources/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('d8a54596cbaf037e62b80c4585a3ca9b')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}