desktop/kchildlock/PKGBUILD
2015-08-22 19:58:44 +02:00

29 lines
778 B
Bash

pkgname=kchildlock
pkgver=0.91.1
pkgrel=1
pkgdesc="Computer usage time monitor and administrator, focused on parental control."
url="http://sourceforge.net/projects/kchildlock"
license=('GPL2')
arch=('x86_64')
depends=('kdebase-runtime')
makedepends=('automoc4' 'cmake' 'docbook-xsl')
categories=('system')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
sha512sums=('25fe6f5cff0bf3ca0a47f37f9623a91d59d5456a146e78bfc715358770c04e32426d5513a70aced3b706b413705d247e617aad7281dd57e9fabfc9e9121d14f5')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver/build
make DESTDIR=${pkgdir} install
}