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

Antonio Rojas arojas at archlinux.org
Sat Mar 26 23:23:41 UTC 2016


    Date: Sunday, March 27, 2016 @ 00:23:41
  Author: arojas
Revision: 262742

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

Added:
  spectacle/repos/staging-i686/
  spectacle/repos/staging-i686/PKGBUILD
    (from rev 262741, spectacle/kde-unstable/PKGBUILD)
  spectacle/repos/staging-i686/spectacle.install
    (from rev 262741, spectacle/kde-unstable/spectacle.install)
  spectacle/repos/staging-x86_64/
  spectacle/repos/staging-x86_64/PKGBUILD
    (from rev 262741, spectacle/kde-unstable/PKGBUILD)
  spectacle/repos/staging-x86_64/spectacle.install
    (from rev 262741, spectacle/kde-unstable/spectacle.install)

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

Copied: spectacle/repos/staging-i686/PKGBUILD (from rev 262741, spectacle/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-03-26 23:23:41 UTC (rev 262742)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=spectacle
+pkgver=16.03.80
+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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('6dd0f03a9f7c813e6203fc7f54607f62')
+
+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/staging-i686/spectacle.install (from rev 262741, spectacle/kde-unstable/spectacle.install)
===================================================================
--- staging-i686/spectacle.install	                        (rev 0)
+++ staging-i686/spectacle.install	2016-03-26 23:23:41 UTC (rev 262742)
@@ -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/staging-x86_64/PKGBUILD (from rev 262741, spectacle/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-03-26 23:23:41 UTC (rev 262742)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=spectacle
+pkgver=16.03.80
+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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('6dd0f03a9f7c813e6203fc7f54607f62')
+
+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/staging-x86_64/spectacle.install (from rev 262741, spectacle/kde-unstable/spectacle.install)
===================================================================
--- staging-x86_64/spectacle.install	                        (rev 0)
+++ staging-x86_64/spectacle.install	2016-03-26 23:23:41 UTC (rev 262742)
@@ -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