1 # Contributor: Petr Malat (AUR username is petris)
5 pkgdesc="Utility designed to monitor urls, checking for changes. Docks into KDE panel."
7 url="http://kwebwatch.sourceforge.net/"
9 depends=('kdelibs>=3.0' 'perl')
11 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
13 md5sums=('630b6dfdc3f4daab7f25e9c3434ace67')
15 CXXFLAGS="-march=pentium3 -O2"
18 . /etc/profile.d/qt3.sh
21 cd $startdir/src/$pkgname-$pkgver
26 || die "Configure failed"
28 make || die "Make failed"
30 sed -i "s|^prefix = /|prefix = $startdir/pkg/|" Makefile
31 sed -i "s|^prefix = /|prefix = $startdir/pkg/|" libwebwatch/Makefile
32 sed -i "s|^prefix = /|prefix = $startdir/pkg/|" kwebwatch/Makefile
34 make INSTALL_ROOT=$startdir/pkg install