1 # Maintainer: Dany Martineau <dany.luc.martineau@gmail.com>
5 pkgdesc="A lightweight library that retrieves statistics of the system's activity in a portable and thread safe way."
6 url="http://sourceforge.net/projects/libsysactivity/"
11 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
12 md5sums=('b988350ecfcb15910b20dbe9fabf0e24')
15 cd ${srcdir}/${pkgname}-${pkgver}
16 if [[ -d ${srcdir}/build ]]; then
17 msg "Cleaning the previous build directory..."
18 rm -rf ${srcdir}/build
22 cmake ${srcdir}/libsysactivity-${pkgver} -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release
28 make DESTDIR="${pkgdir}" install