diff options
author | haawda | 2019-02-17 00:41:08 +0100 |
---|---|---|
committer | haawda | 2019-02-17 00:41:08 +0100 |
commit | c37ef4a31d474464a17b39443649fece68b7097c (patch) | |
tree | afac56c396a4c0eb5e8d91423b4218f3dd888e09 /PKGBUILD | |
download | aur-c37ef4a31d474464a17b39443649fece68b7097c.tar.gz |
initial upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6de028b4ac12 --- /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 +} |