summaryrefslogtreecommitdiff
path: root/community/xrestop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xrestop/PKGBUILD')
-rw-r--r--community/xrestop/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/xrestop/PKGBUILD b/community/xrestop/PKGBUILD
new file mode 100644
index 000000000..3ecb58312
--- /dev/null
+++ b/community/xrestop/PKGBUILD
@@ -0,0 +1,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
+}