desktop/rsibreak/PKGBUILD
2017-02-25 12:02:47 +01:00

35 lines
941 B
Bash

pkgname=rsibreak
pkgver=0.12.6
_pkgver=${pkgver%.*}
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=('e9597d0d3eea7c71c750247016ee213f1f3e1847b94bab78bddd1cc4177dbfcf')
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
}