[arch-commits] Commit in rsibreak (7 files)

Antonio Rojas arojas at archlinux.org
Thu Sep 24 15:23:32 UTC 2015


    Date: Thursday, September 24, 2015 @ 17:23:32
  Author: arojas
Revision: 141580

archrelease: copy trunk to community-i686, community-x86_64

Added:
  rsibreak/repos/
  rsibreak/repos/community-i686/
  rsibreak/repos/community-i686/PKGBUILD
    (from rev 141579, rsibreak/trunk/PKGBUILD)
  rsibreak/repos/community-i686/rsibreak.install
    (from rev 141579, rsibreak/trunk/rsibreak.install)
  rsibreak/repos/community-x86_64/
  rsibreak/repos/community-x86_64/PKGBUILD
    (from rev 141579, rsibreak/trunk/PKGBUILD)
  rsibreak/repos/community-x86_64/rsibreak.install
    (from rev 141579, rsibreak/trunk/rsibreak.install)

-----------------------------------+
 community-i686/PKGBUILD           |   36 ++++++++++++++++++++++++++++++++++++
 community-i686/rsibreak.install   |   13 +++++++++++++
 community-x86_64/PKGBUILD         |   36 ++++++++++++++++++++++++++++++++++++
 community-x86_64/rsibreak.install |   13 +++++++++++++
 4 files changed, 98 insertions(+)

Copied: rsibreak/repos/community-i686/PKGBUILD (from rev 141579, rsibreak/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2015-09-24 15:23:32 UTC (rev 141580)
@@ -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
+}
+

Copied: rsibreak/repos/community-i686/rsibreak.install (from rev 141579, rsibreak/trunk/rsibreak.install)
===================================================================
--- repos/community-i686/rsibreak.install	                        (rev 0)
+++ repos/community-i686/rsibreak.install	2015-09-24 15:23:32 UTC (rev 141580)
@@ -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
+}
+

Copied: rsibreak/repos/community-x86_64/PKGBUILD (from rev 141579, rsibreak/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2015-09-24 15:23:32 UTC (rev 141580)
@@ -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
+}
+

Copied: rsibreak/repos/community-x86_64/rsibreak.install (from rev 141579, rsibreak/trunk/rsibreak.install)
===================================================================
--- repos/community-x86_64/rsibreak.install	                        (rev 0)
+++ repos/community-x86_64/rsibreak.install	2015-09-24 15:23:32 UTC (rev 141580)
@@ -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