desktop/kchildlock/PKGBUILD

29 lines
778 B
Bash
Raw Normal View History

2011-05-14 22:13:40 +08:00
pkgname=kchildlock
2015-08-23 01:58:44 +08:00
pkgver=0.91.1
2011-05-14 22:13:40 +08:00
pkgrel=1
pkgdesc="Computer usage time monitor and administrator, focused on parental control."
url="http://sourceforge.net/projects/kchildlock"
license=('GPL2')
2015-08-23 01:58:44 +08:00
arch=('x86_64')
2011-05-14 22:13:40 +08:00
depends=('kdebase-runtime')
makedepends=('automoc4' 'cmake' 'docbook-xsl')
categories=('system')
2011-07-05 23:29:09 +08:00
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
2015-08-23 01:58:44 +08:00
sha512sums=('25fe6f5cff0bf3ca0a47f37f9623a91d59d5456a146e78bfc715358770c04e32426d5513a70aced3b706b413705d247e617aad7281dd57e9fabfc9e9121d14f5')
2011-05-14 22:13:40 +08:00
build() {
cd $srcdir/$pkgname-$pkgver
2012-09-02 17:57:40 +08:00
mkdir -p build && cd build
2011-05-14 22:13:40 +08:00
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
2012-09-02 17:57:40 +08:00
-DCMAKE_BUILD_TYPE=Release \
2011-05-14 22:13:40 +08:00
..
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver/build
make DESTDIR=${pkgdir} install
}