mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 00:37:15 +08:00
35 lines
933 B
Bash
35 lines
933 B
Bash
pkgname=rsibreak
|
|
pkgver=0.12.2
|
|
_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=('4d6c2c180aa7a009e129ac54be49447ac972cc2d10b007bdb8dc71591ed9f083')
|
|
|
|
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
|
|
}
|