summaryrefslogtreecommitdiff
path: root/community/i7z/PKGBUILD
blob: b1242f3abe2716eadd723ea922f620ecc89d5968 (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
30
31
32
33
# $Id: PKGBUILD 85361 2013-03-01 10:33:44Z andrea $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Nathan O <ndowens.aur at gmail dot com>

pkgname=i7z
pkgver=0.27.2
pkgrel=2
pkgdesc="A better i7 (and now i3, i5) reporting tool for Linux"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('ncurses')
makedepends=('qt4')
optdepends=('qt4: for i7z-gui')
url="http://code.google.com/p/i7z/"
source=("http://i7z.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('7f2c4928146b722d67ecdd0d905a4353')

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

    make

    cd GUI
    qmake
    make clean
    make
}
package() {
    cd ${srcdir}/${pkgname}-${pkgver}

    install -Dm 755 i7z ${pkgdir}/usr/bin/i7z
    install -Dm 755 GUI/i7z_GUI ${pkgdir}/usr/bin/i7z-gui
}