desktop/rsibreak/PKGBUILD
2016-01-28 00:59:17 +01:00

35 lines
933 B
Bash

pkgname=rsibreak
pkgver=0.12.1
_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=('ce99be0acdfee0407822db8e404b19516c972022962688deac13236028e85d21')
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
}