mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
28 lines
937 B
Bash
28 lines
937 B
Bash
# $Id: PKGBUILD 2071 2009-09-08 10:23:55Z spupykin $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: hpestilence <hpestilence@gmail.com>
|
|
|
|
pkgname=klogwatch
|
|
pkgver=2.0.3
|
|
pkgrel=2
|
|
arch=(i686 x86_64)
|
|
pkgdesc="Monitors a kernel log file for Netfilter log lines and reports them"
|
|
url="http://klogwatch.sourceforge.net/"
|
|
license=("GPL")
|
|
depends=('kdelibs3')
|
|
options=('libtool')
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('921bf810a7e555818f7a8e13e30ff58f')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
[ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --datadir=/opt/kde/share --mandir=/usr/share/man
|
|
|
|
sed -i '1,2i#include <stdlib.h>' klogwatch/kloglist.cpp
|
|
|
|
make KDELIB=/opt/kde/lib || return 1
|
|
make DESTDIR=$startdir/pkg install || return 1
|
|
|
|
cp $startdir/src/$pkgname-$pkgver/$pkgname/klogwatch.desktop $startdir/pkg/opt/kde/share/applications/kde/
|
|
}
|