[arch-commits] Commit in kdegraphics-ksnapshot/repos (6 files)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Tue Feb 4 14:02:54 UTC 2014
Date: Tuesday, February 4, 2014 @ 15:02:54
Author: svenstaro
Revision: 205317
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdegraphics-ksnapshot/repos/testing-i686/
kdegraphics-ksnapshot/repos/testing-i686/PKGBUILD
(from rev 205316, kdegraphics-ksnapshot/trunk/PKGBUILD)
kdegraphics-ksnapshot/repos/testing-i686/kdegraphics-ksnapshot.install
(from rev 205316, kdegraphics-ksnapshot/trunk/kdegraphics-ksnapshot.install)
kdegraphics-ksnapshot/repos/testing-x86_64/
kdegraphics-ksnapshot/repos/testing-x86_64/PKGBUILD
(from rev 205316, kdegraphics-ksnapshot/trunk/PKGBUILD)
kdegraphics-ksnapshot/repos/testing-x86_64/kdegraphics-ksnapshot.install
(from rev 205316, kdegraphics-ksnapshot/trunk/kdegraphics-ksnapshot.install)
----------------------------------------------+
testing-i686/PKGBUILD | 33 +++++++++++++++++++++++++
testing-i686/kdegraphics-ksnapshot.install | 12 +++++++++
testing-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++
testing-x86_64/kdegraphics-ksnapshot.install | 12 +++++++++
4 files changed, 90 insertions(+)
Copied: kdegraphics-ksnapshot/repos/testing-i686/PKGBUILD (from rev 205316, kdegraphics-ksnapshot/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-02-04 14:02:54 UTC (rev 205317)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-ksnapshot
+pkgver=4.12.2
+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=('kdebase-runtime' 'libkipi')
+makedepends=('cmake' 'automoc4')
+optdepends=('kipi-plugins')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/ksnapshot-${pkgver}.tar.xz")
+sha1sums=('1f7b511603667b71a463d1e6136ab7a0a7b53e04')
+
+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/testing-i686/kdegraphics-ksnapshot.install (from rev 205316, kdegraphics-ksnapshot/trunk/kdegraphics-ksnapshot.install)
===================================================================
--- testing-i686/kdegraphics-ksnapshot.install (rev 0)
+++ testing-i686/kdegraphics-ksnapshot.install 2014-02-04 14:02:54 UTC (rev 205317)
@@ -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/testing-x86_64/PKGBUILD (from rev 205316, kdegraphics-ksnapshot/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-02-04 14:02:54 UTC (rev 205317)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-ksnapshot
+pkgver=4.12.2
+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=('kdebase-runtime' 'libkipi')
+makedepends=('cmake' 'automoc4')
+optdepends=('kipi-plugins')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/ksnapshot-${pkgver}.tar.xz")
+sha1sums=('1f7b511603667b71a463d1e6136ab7a0a7b53e04')
+
+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/testing-x86_64/kdegraphics-ksnapshot.install (from rev 205316, kdegraphics-ksnapshot/trunk/kdegraphics-ksnapshot.install)
===================================================================
--- testing-x86_64/kdegraphics-ksnapshot.install (rev 0)
+++ testing-x86_64/kdegraphics-ksnapshot.install 2014-02-04 14:02:54 UTC (rev 205317)
@@ -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