pkgname=rsibreak pkgver=0.12.3 _pkgver=0.12 pkgrel=1 pkgdesc="A small utility to help prevent Repetive Strain Injury." arch=('x86_64') url="http://www.rsibreak.org/" license=('GPL2') depends=('libxss' 'qt5-tools' 'qt5-x11extras' 'ki18n' 'kconfigwidgets' 'kdbusaddons' 'kdoctools' 'kiconthemes' 'kidletime' 'knotifyconfig' 'kxmlgui' 'kwindowsystem') makedepends=('extra-cmake-modules' 'cmake' 'docbook-xsl') categories=('utils') # options=('libtool') changelog=ChangeLog source=("http://download.kde.org/stable/rsibreak/${_pkgver}/rsibreak-$pkgver.tar.xz") sha256sums=('10cd83d97a823a629c6b2cf6bb81f1fd7dc576c5829381fb1f2babf9328bd926') prepare() { cd $srcdir/$pkgname-$pkgver mkdir -p build } build() { cd $srcdir/$pkgname-$pkgver/build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ .. make } package() { cd $srcdir/$pkgname-$pkgver/build make DESTDIR=$pkgdir install }