mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
35 lines
941 B
Bash
35 lines
941 B
Bash
pkgname=rsibreak
|
|
pkgver=0.12.7
|
|
_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=('c9f33f56214ff572c76049cc7b2acc8c58585444017762596190d89826103942')
|
|
|
|
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
|
|
}
|