[arch-commits] Commit in kdegraphics-kruler/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Tue May 29 22:58:04 UTC 2012
Date: Tuesday, May 29, 2012 @ 18:58:03
Author: andrea
Revision: 160141
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 160140, kdegraphics-kruler/kde-unstable/PKGBUILD)
kdegraphics-kruler/repos/kde-unstable-i686/kdegraphics-kruler.install
(from rev 160140, kdegraphics-kruler/kde-unstable/kdegraphics-kruler.install)
kdegraphics-kruler/repos/kde-unstable-x86_64/
kdegraphics-kruler/repos/kde-unstable-x86_64/PKGBUILD
(from rev 160140, kdegraphics-kruler/kde-unstable/PKGBUILD)
kdegraphics-kruler/repos/kde-unstable-x86_64/kdegraphics-kruler.install
(from rev 160140, kdegraphics-kruler/kde-unstable/kdegraphics-kruler.install)
------------------------------------------------+
kde-unstable-i686/PKGBUILD | 31 +++++++++++++++++++++++
kde-unstable-i686/kdegraphics-kruler.install | 12 ++++++++
kde-unstable-x86_64/PKGBUILD | 31 +++++++++++++++++++++++
kde-unstable-x86_64/kdegraphics-kruler.install | 12 ++++++++
4 files changed, 86 insertions(+)
Copied: kdegraphics-kruler/repos/kde-unstable-i686/PKGBUILD (from rev 160140, kdegraphics-kruler/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2012-05-29 22:58:03 UTC (rev 160141)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-kruler
+pkgver=4.8.80
+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=('ccaa5c48bd2a64f9d428729edb6b6dbdbbface3a')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kruler-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -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 160140, kdegraphics-kruler/kde-unstable/kdegraphics-kruler.install)
===================================================================
--- kde-unstable-i686/kdegraphics-kruler.install (rev 0)
+++ kde-unstable-i686/kdegraphics-kruler.install 2012-05-29 22:58:03 UTC (rev 160141)
@@ -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 160140, kdegraphics-kruler/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2012-05-29 22:58:03 UTC (rev 160141)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-kruler
+pkgver=4.8.80
+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=('ccaa5c48bd2a64f9d428729edb6b6dbdbbface3a')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kruler-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -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 160140, kdegraphics-kruler/kde-unstable/kdegraphics-kruler.install)
===================================================================
--- kde-unstable-x86_64/kdegraphics-kruler.install (rev 0)
+++ kde-unstable-x86_64/kdegraphics-kruler.install 2012-05-29 22:58:03 UTC (rev 160141)
@@ -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