[arch-commits] Commit in kdegraphics-kruler/repos (6 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Jul 25 15:04:06 UTC 2014
Date: Friday, July 25, 2014 @ 17:04:06
Author: svenstaro
Revision: 218060
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kdegraphics-kruler/repos/kde-unstable-i686/
kdegraphics-kruler/repos/kde-unstable-i686/PKGBUILD
(from rev 218059, kdegraphics-kruler/kde-unstable/PKGBUILD)
kdegraphics-kruler/repos/kde-unstable-i686/kdegraphics-kruler.install
(from rev 218059, kdegraphics-kruler/kde-unstable/kdegraphics-kruler.install)
kdegraphics-kruler/repos/kde-unstable-x86_64/
kdegraphics-kruler/repos/kde-unstable-x86_64/PKGBUILD
(from rev 218059, kdegraphics-kruler/kde-unstable/PKGBUILD)
kdegraphics-kruler/repos/kde-unstable-x86_64/kdegraphics-kruler.install
(from rev 218059, kdegraphics-kruler/kde-unstable/kdegraphics-kruler.install)
------------------------------------------------+
kde-unstable-i686/PKGBUILD | 32 +++++++++++++++++++++++
kde-unstable-i686/kdegraphics-kruler.install | 12 ++++++++
kde-unstable-x86_64/PKGBUILD | 32 +++++++++++++++++++++++
kde-unstable-x86_64/kdegraphics-kruler.install | 12 ++++++++
4 files changed, 88 insertions(+)
Copied: kdegraphics-kruler/repos/kde-unstable-i686/PKGBUILD (from rev 218059, kdegraphics-kruler/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2014-07-25 15:04:06 UTC (rev 218060)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-kruler
+pkgver=4.13.95
+pkgrel=1
+pkgdesc="Screen Ruler"
+url="http://kde.org/applications/graphics/kruler/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kruler-${pkgver}.tar.xz")
+sha1sums=('612c59cc7473fabc305cfdd76f2fe30147d383b5')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kruler-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegraphics-kruler/repos/kde-unstable-i686/kdegraphics-kruler.install (from rev 218059, kdegraphics-kruler/kde-unstable/kdegraphics-kruler.install)
===================================================================
--- kde-unstable-i686/kdegraphics-kruler.install (rev 0)
+++ kde-unstable-i686/kdegraphics-kruler.install 2014-07-25 15:04:06 UTC (rev 218060)
@@ -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: kdegraphics-kruler/repos/kde-unstable-x86_64/PKGBUILD (from rev 218059, kdegraphics-kruler/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2014-07-25 15:04:06 UTC (rev 218060)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-kruler
+pkgver=4.13.95
+pkgrel=1
+pkgdesc="Screen Ruler"
+url="http://kde.org/applications/graphics/kruler/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kruler-${pkgver}.tar.xz")
+sha1sums=('612c59cc7473fabc305cfdd76f2fe30147d383b5')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kruler-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegraphics-kruler/repos/kde-unstable-x86_64/kdegraphics-kruler.install (from rev 218059, kdegraphics-kruler/kde-unstable/kdegraphics-kruler.install)
===================================================================
--- kde-unstable-x86_64/kdegraphics-kruler.install (rev 0)
+++ kde-unstable-x86_64/kdegraphics-kruler.install 2014-07-25 15:04:06 UTC (rev 218060)
@@ -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