[arch-commits] Commit in spectacle (7 files)
Antonio Rojas
arojas at archlinux.org
Fri Nov 20 06:40:18 UTC 2015
Date: Friday, November 20, 2015 @ 07:40:18
Author: arojas
Revision: 251475
archrelease: copy kde-unstable to staging-i686, staging-x86_64
Added:
spectacle/repos/
spectacle/repos/staging-i686/
spectacle/repos/staging-i686/PKGBUILD
(from rev 251474, spectacle/kde-unstable/PKGBUILD)
spectacle/repos/staging-i686/spectacle.install
(from rev 251474, spectacle/kde-unstable/spectacle.install)
spectacle/repos/staging-x86_64/
spectacle/repos/staging-x86_64/PKGBUILD
(from rev 251474, spectacle/kde-unstable/PKGBUILD)
spectacle/repos/staging-x86_64/spectacle.install
(from rev 251474, spectacle/kde-unstable/spectacle.install)
----------------------------------+
staging-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
staging-i686/spectacle.install | 12 ++++++++++++
staging-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
staging-x86_64/spectacle.install | 12 ++++++++++++
4 files changed, 98 insertions(+)
Copied: spectacle/repos/staging-i686/PKGBUILD (from rev 251474, spectacle/kde-unstable/PKGBUILD)
===================================================================
--- repos/staging-i686/PKGBUILD (rev 0)
+++ repos/staging-i686/PKGBUILD 2015-11-20 06:40:18 UTC (rev 251475)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=spectacle
+pkgver=15.11.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)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('a7f2d72ea739f54c7b2dae87eefe63f5')
+
+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 251474, spectacle/kde-unstable/spectacle.install)
===================================================================
--- repos/staging-i686/spectacle.install (rev 0)
+++ repos/staging-i686/spectacle.install 2015-11-20 06:40:18 UTC (rev 251475)
@@ -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 251474, spectacle/kde-unstable/PKGBUILD)
===================================================================
--- repos/staging-x86_64/PKGBUILD (rev 0)
+++ repos/staging-x86_64/PKGBUILD 2015-11-20 06:40:18 UTC (rev 251475)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=spectacle
+pkgver=15.11.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)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('a7f2d72ea739f54c7b2dae87eefe63f5')
+
+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 251474, spectacle/kde-unstable/spectacle.install)
===================================================================
--- repos/staging-x86_64/spectacle.install (rev 0)
+++ repos/staging-x86_64/spectacle.install 2015-11-20 06:40:18 UTC (rev 251475)
@@ -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