summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4aee366c79797f36b4162794c152fa8312820e05 (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
34
35
36
37
38
# Maintener: Luis <luis.henriques@gmail.com>
# Previous Maintainer: Berfin <3a33oxx40@mozmail.com>
# Previous Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
# Contributor: St�phane Gaudreault <stephane.gaudreault@gmail.com>

pkgname=latencytop
pkgver=0.5.0
_pkgver=0.5
pkgrel=2
epoch=1
pkgdesc="A tool for software developers, aimed at identifying where system latency occurs."
arch=(x86_64)
url="http://ftp.de.debian.org/debian/pool/main/l/latencytop" # used to be http://www.latencytop.org but Intel appears to have killed it
depends=('gtk2' 'ncurses' 'gdk-pixbuf2' 'glib2')
license=('GPL')
source=("http://ftp.de.debian.org/debian/pool/main/l/latencytop/latencytop_0.5.0.orig.tar.gz"
        makefilefix.diff
        compilefix.diff)
sha256sums=('9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef'
            'ba86f1cc699dc0acfe24d70edfdffba14c1e0128885c874b098441096f368eae'
            '6a5fca0634e6a12b02e709487d09a441b8aa7d2360d3a29450588ec7ebd4591d')

prepare() {
  cd $pkgname-${_pkgver}
  patch -Np1 < "$srcdir"/makefilefix.diff
  patch -Np1 < "$srcdir"/compilefix.diff
}

build() {
  cd $pkgname-${_pkgver}
  make 
}
:
package() {
  cd $pkgname-${_pkgver}
  install -dm755 "$pkgdir"/usr/bin
  make DESTDIR="$pkgdir" install
}