summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-02-17 00:41:08 +0100
committerhaawda2019-02-17 00:41:08 +0100
commitc37ef4a31d474464a17b39443649fece68b7097c (patch)
treeafac56c396a4c0eb5e8d91423b4218f3dd888e09
downloadaur-c37ef4a31d474464a17b39443649fece68b7097c.tar.gz
initial upload
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD31
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8778661be20
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = xrestop-git
+ pkgdesc = Uses the X-Resource extension to provide 'top' like statistics
+ pkgver = 0.4r29.1dd66f8
+ pkgrel = 1
+ url = http://freedesktop.org/wiki/Software/xrestop
+ arch = x86_64
+ license = GPL
+ depends = libxres
+ depends = ncurses
+ source = git+https://gitlab.freedesktop.org/xorg/app/xrestop
+ md5sums = SKIP
+
+pkgname = xrestop-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6de028b4ac1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=xrestop-git
+pkgver=0.4r29.1dd66f8
+pkgrel=1
+pkgdesc="Uses the X-Resource extension to provide 'top' like statistics"
+arch=('x86_64')
+url="http://freedesktop.org/wiki/Software/xrestop"
+license=('GPL')
+depends=('libxres' 'ncurses')
+source=(git+https://gitlab.freedesktop.org/xorg/app/xrestop)
+md5sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname%-git}
+ printf "0.4r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
+}
+
+build() {
+ cd ${pkgname%-git}
+ ./autogen.sh --prefix=/usr --mandir=/usr/share/man
+ #./configure
+ make
+}
+
+package() {
+ cd ${pkgname%-git}
+ make DESTDIR="$pkgdir" install
+}