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

Antonio Rojas arojas at archlinux.org
Tue Feb 16 08:37:52 UTC 2016


    Date: Tuesday, February 16, 2016 @ 09:37:52
  Author: arojas
Revision: 259497

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

Added:
  spectacle/repos/testing-i686/
  spectacle/repos/testing-i686/PKGBUILD
    (from rev 259496, spectacle/trunk/PKGBUILD)
  spectacle/repos/testing-i686/spectacle.install
    (from rev 259496, spectacle/trunk/spectacle.install)
  spectacle/repos/testing-x86_64/
  spectacle/repos/testing-x86_64/PKGBUILD
    (from rev 259496, spectacle/trunk/PKGBUILD)
  spectacle/repos/testing-x86_64/spectacle.install
    (from rev 259496, spectacle/trunk/spectacle.install)

----------------------------------+
 testing-i686/PKGBUILD            |   38 +++++++++++++++++++++++++++++++++++++
 testing-i686/spectacle.install   |   12 +++++++++++
 testing-x86_64/PKGBUILD          |   38 +++++++++++++++++++++++++++++++++++++
 testing-x86_64/spectacle.install |   12 +++++++++++
 4 files changed, 100 insertions(+)

Copied: spectacle/repos/testing-i686/PKGBUILD (from rev 259496, spectacle/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-02-16 08:37:52 UTC (rev 259497)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=spectacle
+pkgver=15.12.1
+pkgrel=1
+pkgdesc="KDE screenshot capture utility"
+arch=(i686 x86_64)
+url='https://projects.kde.org/spectacle'
+license=(GPL)
+depends=(kio xcb-util-cursor libkscreen libkipi hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+conflicts=(kdegraphics-ksnapshot kscreengenie)
+replaces=(kdegraphics-ksnapshot kscreengenie)
+groups=(kde-applications kdegraphics)
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('c319447edf42728269b51c3d4ed45704')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_INSTALL_LIBDIR=lib \
+   -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+

Copied: spectacle/repos/testing-i686/spectacle.install (from rev 259496, spectacle/trunk/spectacle.install)
===================================================================
--- testing-i686/spectacle.install	                        (rev 0)
+++ testing-i686/spectacle.install	2016-02-16 08:37:52 UTC (rev 259497)
@@ -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: spectacle/repos/testing-x86_64/PKGBUILD (from rev 259496, spectacle/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-02-16 08:37:52 UTC (rev 259497)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=spectacle
+pkgver=15.12.1
+pkgrel=1
+pkgdesc="KDE screenshot capture utility"
+arch=(i686 x86_64)
+url='https://projects.kde.org/spectacle'
+license=(GPL)
+depends=(kio xcb-util-cursor libkscreen libkipi hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+conflicts=(kdegraphics-ksnapshot kscreengenie)
+replaces=(kdegraphics-ksnapshot kscreengenie)
+groups=(kde-applications kdegraphics)
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('c319447edf42728269b51c3d4ed45704')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_INSTALL_LIBDIR=lib \
+   -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+

Copied: spectacle/repos/testing-x86_64/spectacle.install (from rev 259496, spectacle/trunk/spectacle.install)
===================================================================
--- testing-x86_64/spectacle.install	                        (rev 0)
+++ testing-x86_64/spectacle.install	2016-02-16 08:37:52 UTC (rev 259497)
@@ -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