1 # Maintainer: Miguel Aguilar <zodiac_es@yahoo.es>
2 # Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
7 pkgdesc="Monitors and restricts the usage time of a children spent on the computer. For KDE4"
8 url="http://sourceforge.net/projects/kchildlock"
10 arch=('i686' 'x86_64')
11 depends=('kdebase-runtime')
12 makedepends=('cmake' 'automoc4')
13 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
14 md5sums=('138d81468ee905e9705e2ef46287fa6c')
18 find . -name CMakeLists.txt -exec sed -i 's/add_subdirectory(doc)/#add_subdirectory(doc)/g' {} \;
19 cd ${srcdir}/$pkgname-$pkgver
20 cmake -DCMAKE_INSTALL_PREFIX=/usr -G KDevelop3 -DCMAKE_BUILD_TYPE=Release \
21 -DDATA_INSTALL_DIR=/usr/share/kde4/ -DICON_INSTALL_DIR=/usr/share/ .
26 cd ${srcdir}/$pkgname-$pkgver
27 make DESTDIR=${pkgdir} install