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

Antonio Rojas arojas at archlinux.org
Wed Jul 29 07:55:22 UTC 2015


    Date: Wednesday, July 29, 2015 @ 09:55:22
  Author: arojas
Revision: 242741

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  kdegraphics-ksnapshot/repos/kde-unstable-i686/
  kdegraphics-ksnapshot/repos/kde-unstable-i686/PKGBUILD
    (from rev 242740, kdegraphics-ksnapshot/kde-unstable/PKGBUILD)
  kdegraphics-ksnapshot/repos/kde-unstable-i686/kdegraphics-ksnapshot.install
    (from rev 242740, kdegraphics-ksnapshot/kde-unstable/kdegraphics-ksnapshot.install)
  kdegraphics-ksnapshot/repos/kde-unstable-x86_64/
  kdegraphics-ksnapshot/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 242740, kdegraphics-ksnapshot/kde-unstable/PKGBUILD)
  kdegraphics-ksnapshot/repos/kde-unstable-x86_64/kdegraphics-ksnapshot.install
    (from rev 242740, kdegraphics-ksnapshot/kde-unstable/kdegraphics-ksnapshot.install)

---------------------------------------------------+
 kde-unstable-i686/PKGBUILD                        |   34 ++++++++++++++++++++
 kde-unstable-i686/kdegraphics-ksnapshot.install   |   12 +++++++
 kde-unstable-x86_64/PKGBUILD                      |   34 ++++++++++++++++++++
 kde-unstable-x86_64/kdegraphics-ksnapshot.install |   12 +++++++
 4 files changed, 92 insertions(+)

Copied: kdegraphics-ksnapshot/repos/kde-unstable-i686/PKGBUILD (from rev 242740, kdegraphics-ksnapshot/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2015-07-29 07:55:22 UTC (rev 242741)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-ksnapshot
+pkgver=15.07.80
+pkgrel=1
+pkgdesc="Screen Capture Program"
+url="http://kde.org/applications/graphics/ksnapshot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegraphics')
+depends=('kdebase-runtime' 'libkipi')
+makedepends=('cmake' 'automoc4')
+optdepends=('kipi-plugins')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/ksnapshot-${pkgver}.tar.xz")
+sha1sums=('6d7e33281fbbd4a1471fb771457dae328d5a8b41')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../ksnapshot-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegraphics-ksnapshot/repos/kde-unstable-i686/kdegraphics-ksnapshot.install (from rev 242740, kdegraphics-ksnapshot/kde-unstable/kdegraphics-ksnapshot.install)
===================================================================
--- kde-unstable-i686/kdegraphics-ksnapshot.install	                        (rev 0)
+++ kde-unstable-i686/kdegraphics-ksnapshot.install	2015-07-29 07:55:22 UTC (rev 242741)
@@ -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-ksnapshot/repos/kde-unstable-x86_64/PKGBUILD (from rev 242740, kdegraphics-ksnapshot/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2015-07-29 07:55:22 UTC (rev 242741)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-ksnapshot
+pkgver=15.07.80
+pkgrel=1
+pkgdesc="Screen Capture Program"
+url="http://kde.org/applications/graphics/ksnapshot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegraphics')
+depends=('kdebase-runtime' 'libkipi')
+makedepends=('cmake' 'automoc4')
+optdepends=('kipi-plugins')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/ksnapshot-${pkgver}.tar.xz")
+sha1sums=('6d7e33281fbbd4a1471fb771457dae328d5a8b41')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../ksnapshot-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegraphics-ksnapshot/repos/kde-unstable-x86_64/kdegraphics-ksnapshot.install (from rev 242740, kdegraphics-ksnapshot/kde-unstable/kdegraphics-ksnapshot.install)
===================================================================
--- kde-unstable-x86_64/kdegraphics-ksnapshot.install	                        (rev 0)
+++ kde-unstable-x86_64/kdegraphics-ksnapshot.install	2015-07-29 07:55:22 UTC (rev 242741)
@@ -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