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

Andrea Scarpino andrea at archlinux.org
Sun Mar 4 09:54:28 EST 2012


    Date: Sunday, March 4, 2012 @ 09:54:28
  Author: andrea
Revision: 152090

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

Added:
  kdegraphics-ksnapshot/repos/staging-i686/
  kdegraphics-ksnapshot/repos/staging-i686/PKGBUILD
    (from rev 152089, kdegraphics-ksnapshot/trunk/PKGBUILD)
  kdegraphics-ksnapshot/repos/staging-i686/kdegraphics-ksnapshot.install
    (from rev 152089, kdegraphics-ksnapshot/trunk/kdegraphics-ksnapshot.install)
  kdegraphics-ksnapshot/repos/staging-x86_64/
  kdegraphics-ksnapshot/repos/staging-x86_64/PKGBUILD
    (from rev 152089, kdegraphics-ksnapshot/trunk/PKGBUILD)
  kdegraphics-ksnapshot/repos/staging-x86_64/kdegraphics-ksnapshot.install
    (from rev 152089, kdegraphics-ksnapshot/trunk/kdegraphics-ksnapshot.install)
Modified:
  kdegraphics-ksnapshot/repos/extra-i686/PKGBUILD
  kdegraphics-ksnapshot/repos/extra-x86_64/PKGBUILD

----------------------------------------------+
 extra-i686/PKGBUILD                          |    2 -
 extra-x86_64/PKGBUILD                        |    2 -
 staging-i686/PKGBUILD                        |   32 +++++++++++++++++++++++++
 staging-i686/kdegraphics-ksnapshot.install   |   12 +++++++++
 staging-x86_64/PKGBUILD                      |   32 +++++++++++++++++++++++++
 staging-x86_64/kdegraphics-ksnapshot.install |   12 +++++++++
 6 files changed, 90 insertions(+), 2 deletions(-)

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-03-04 14:54:04 UTC (rev 152089)
+++ extra-i686/PKGBUILD	2012-03-04 14:54:28 UTC (rev 152090)
@@ -13,7 +13,7 @@
 makedepends=('cmake' 'automoc4')
 optdepends=('kipi-plugins')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/ksnapshot-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/ksnapshot-${pkgver}.tar.xz")
 sha1sums=('a95584fd44401d130815c1ec79c21532197dbef8')
 
 build() {

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-03-04 14:54:04 UTC (rev 152089)
+++ extra-x86_64/PKGBUILD	2012-03-04 14:54:28 UTC (rev 152090)
@@ -13,7 +13,7 @@
 makedepends=('cmake' 'automoc4')
 optdepends=('kipi-plugins')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/ksnapshot-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/ksnapshot-${pkgver}.tar.xz")
 sha1sums=('a95584fd44401d130815c1ec79c21532197dbef8')
 
 build() {

Copied: kdegraphics-ksnapshot/repos/staging-i686/PKGBUILD (from rev 152089, kdegraphics-ksnapshot/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-03-04 14:54:28 UTC (rev 152090)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-ksnapshot
+pkgver=4.8.1
+pkgrel=1
+pkgdesc="Screen Capture Program"
+url="http://kde.org/applications/graphics/ksnapshot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdelibs' 'libkipi')
+makedepends=('cmake' 'automoc4')
+optdepends=('kipi-plugins')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/xz/ksnapshot-${pkgver}.tar.xz")
+sha1sums=('3e8f0842d06d0fbb98dcebeba684847552fc02a9')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../ksnapshot-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegraphics-ksnapshot/repos/staging-i686/kdegraphics-ksnapshot.install (from rev 152089, kdegraphics-ksnapshot/trunk/kdegraphics-ksnapshot.install)
===================================================================
--- staging-i686/kdegraphics-ksnapshot.install	                        (rev 0)
+++ staging-i686/kdegraphics-ksnapshot.install	2012-03-04 14:54:28 UTC (rev 152090)
@@ -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/staging-x86_64/PKGBUILD (from rev 152089, kdegraphics-ksnapshot/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-03-04 14:54:28 UTC (rev 152090)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-ksnapshot
+pkgver=4.8.1
+pkgrel=1
+pkgdesc="Screen Capture Program"
+url="http://kde.org/applications/graphics/ksnapshot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdelibs' 'libkipi')
+makedepends=('cmake' 'automoc4')
+optdepends=('kipi-plugins')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/xz/ksnapshot-${pkgver}.tar.xz")
+sha1sums=('3e8f0842d06d0fbb98dcebeba684847552fc02a9')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../ksnapshot-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegraphics-ksnapshot/repos/staging-x86_64/kdegraphics-ksnapshot.install (from rev 152089, kdegraphics-ksnapshot/trunk/kdegraphics-ksnapshot.install)
===================================================================
--- staging-x86_64/kdegraphics-ksnapshot.install	                        (rev 0)
+++ staging-x86_64/kdegraphics-ksnapshot.install	2012-03-04 14:54:28 UTC (rev 152090)
@@ -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