summaryrefslogtreecommitdiff
path: root/community/qps/PKGBUILD
blob: e31a0a46633bcebe1faa824518eff51bf6221771 (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
28
29
# $Id: PKGBUILD 110074 2014-04-23 17:29:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: David Rosenstrauch <darose@darose.net>

pkgname=qps
pkgver=1.10.16
_dlpkgver=5963
pkgrel=3
pkgdesc="a visual process manager, an X11 version of 'top' or 'ps'."
url="http://qps.kldp.net/projects/qps"
depends=('qt4')
arch=('i686' 'x86_64')
license="GPL"
source=(http://kldp.net/frs/download.php/${_dlpkgver}/qps-$pkgver.tar.bz2)
md5sums=('dc3396749ad9254fd60ca84b5c0b16b9')

build() {
  cd $srcdir/$pkgname-$pkgver
  qmake-qt4
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  install -D -m 755 qps $pkgdir/usr/bin/qps
  install -D -m 644 qps.1 $pkgdir/usr/share/man/man1/qps.1
  install -D -m 644 qps.desktop $pkgdir/usr/share/applications/qps.desktop
  install -D -m 644 icon/icon.xpm $pkgdir/usr/share/pixmaps/qps.xpm
}