[arch-commits] Commit in kruler/repos (6 files)

Antonio Rojas arojas at archlinux.org
Fri Apr 10 19:31:09 UTC 2015


    Date: Friday, April 10, 2015 @ 21:31:09
  Author: arojas
Revision: 236174

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

Added:
  kruler/repos/staging-i686/
  kruler/repos/staging-i686/PKGBUILD
    (from rev 236173, kruler/trunk/PKGBUILD)
  kruler/repos/staging-i686/kruler.install
    (from rev 236173, kruler/trunk/kruler.install)
  kruler/repos/staging-x86_64/
  kruler/repos/staging-x86_64/PKGBUILD
    (from rev 236173, kruler/trunk/PKGBUILD)
  kruler/repos/staging-x86_64/kruler.install
    (from rev 236173, kruler/trunk/kruler.install)

-------------------------------+
 staging-i686/PKGBUILD         |   36 ++++++++++++++++++++++++++++++++++++
 staging-i686/kruler.install   |   12 ++++++++++++
 staging-x86_64/PKGBUILD       |   36 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/kruler.install |   12 ++++++++++++
 4 files changed, 96 insertions(+)

Copied: kruler/repos/staging-i686/PKGBUILD (from rev 236173, kruler/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-10 19:31:09 UTC (rev 236174)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kruler
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Screen Ruler"
+url="http://kde.org/applications/graphics/kruler/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegraphics')
+depends=('knotifications' 'kxmlgui')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegraphics-kruler')
+replaces=('kdegraphics-kruler')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kruler-${pkgver}.tar.xz")
+sha1sums=('de3298191eaa07664c7d068185b0f1fc62c6baeb')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kruler-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kruler/repos/staging-i686/kruler.install (from rev 236173, kruler/trunk/kruler.install)
===================================================================
--- staging-i686/kruler.install	                        (rev 0)
+++ staging-i686/kruler.install	2015-04-10 19:31:09 UTC (rev 236174)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kruler/repos/staging-x86_64/PKGBUILD (from rev 236173, kruler/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-10 19:31:09 UTC (rev 236174)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kruler
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Screen Ruler"
+url="http://kde.org/applications/graphics/kruler/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegraphics')
+depends=('knotifications' 'kxmlgui')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegraphics-kruler')
+replaces=('kdegraphics-kruler')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kruler-${pkgver}.tar.xz")
+sha1sums=('de3298191eaa07664c7d068185b0f1fc62c6baeb')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kruler-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kruler/repos/staging-x86_64/kruler.install (from rev 236173, kruler/trunk/kruler.install)
===================================================================
--- staging-x86_64/kruler.install	                        (rev 0)
+++ staging-x86_64/kruler.install	2015-04-10 19:31:09 UTC (rev 236174)
@@ -0,0 +1,12 @@
+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