updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / lkmonitor / PKGBUILD
blobf0b04bec1d36d31a08ec66a2818e134ba5a37713
1 # Contributor: Jack <nim901@gmail.com>
2 # Maintainer: M Rawash <mrawash@gmail.com>
3 # Contributor: DonVla <donvla@users.sourceforge.net>
5 pkgname=lkmonitor
6 pkgver=0.3
7 pkgrel=3
8 arch=('i686' 'x86_64')
9 pkgdesc="Lkmonitor is a gtk tool for monitoring and managing linux's kernel."
10 license=('GPL')
11 depends=('cairo' 'libgnomeui')
12 options=(!docs)
13 url="http://lkmonitor.sourceforge.net"
14 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
15 md5sums=('dd84ee3952fc03ee8319658dc3866e3c')
16 sha256sums=('ab2fd454a53a73e9afb3c87a5496fa33e8a95b5cc0fe29e773ddf9e4d7c587a2')
18 build() {
19     cd "${srcdir}/${pkgname}-${pkgver}"
20     # fix desktop file
21     sed -i 's/DIR@\//DIR@\/lkmonitor-icon.png/' lkmonitor.desktop.in
22     echo "Categories=System;Utility;GTK;" >> lkmonitor.desktop.in
23      
24     ./configure --prefix=/usr
25     make || return 1
28 package() {
29     cd "${srcdir}/${pkgname}-${pkgver}"
31     make DESTDIR=${pkgdir} \
32     gnomemenudir=/usr/share/applications  \
33     lkmonitordocdir=/usr/share/doc/lkmonitor install