[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Thu Sep 24 15:22:43 UTC 2015


    Date: Thursday, September 24, 2015 @ 17:22:43
  Author: arojas
Revision: 141579

Add rsibreak (13 votes)

Added:
  rsibreak/
  rsibreak/trunk/
  rsibreak/trunk/PKGBUILD
  rsibreak/trunk/rsibreak.install

------------------+
 PKGBUILD         |   36 ++++++++++++++++++++++++++++++++++++
 rsibreak.install |   13 +++++++++++++
 2 files changed, 49 insertions(+)

Added: rsibreak/trunk/PKGBUILD
===================================================================
--- rsibreak/trunk/PKGBUILD	                        (rev 0)
+++ rsibreak/trunk/PKGBUILD	2015-09-24 15:22:43 UTC (rev 141579)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=rsibreak
+pkgver=0.12
+pkgrel=1
+pkgdesc="Takes care of your health and regularly breaks your work to avoid repetitive strain injury (RSI)"
+url="https://userbase.kde.org/RSIBreak"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(knotifyconfig kidletime hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+source=("http://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('9db9f4a1f421a71f95753ef68c1a857e')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build 
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF 
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR=$pkgdir install
+}
+


Property changes on: rsibreak/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: rsibreak/trunk/rsibreak.install
===================================================================
--- rsibreak/trunk/rsibreak.install	                        (rev 0)
+++ rsibreak/trunk/rsibreak.install	2015-09-24 15:22:43 UTC (rev 141579)
@@ -0,0 +1,13 @@
+post_install() {
+        xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+        update-desktop-database -q
+}
+
+post_upgrade() {
+        post_install
+}
+
+post_remove() {
+        post_install
+}
+



More information about the arch-commits mailing list