[arch-commits] Commit in kscreengenie/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Tue Dec 8 11:34:24 UTC 2015
Date: Tuesday, December 8, 2015 @ 12:34:24
Author: arojas
Revision: 150247
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
kscreengenie/repos/community-staging-i686/
kscreengenie/repos/community-staging-i686/PKGBUILD
(from rev 150246, kscreengenie/trunk/PKGBUILD)
kscreengenie/repos/community-staging-i686/kscreengenie.install
(from rev 150246, kscreengenie/trunk/kscreengenie.install)
kscreengenie/repos/community-staging-x86_64/
kscreengenie/repos/community-staging-x86_64/PKGBUILD
(from rev 150246, kscreengenie/trunk/PKGBUILD)
kscreengenie/repos/community-staging-x86_64/kscreengenie.install
(from rev 150246, kscreengenie/trunk/kscreengenie.install)
-----------------------------------------------+
community-staging-i686/PKGBUILD | 37 ++++++++++++++++++++++++
community-staging-i686/kscreengenie.install | 12 +++++++
community-staging-x86_64/PKGBUILD | 37 ++++++++++++++++++++++++
community-staging-x86_64/kscreengenie.install | 12 +++++++
4 files changed, 98 insertions(+)
Copied: kscreengenie/repos/community-staging-i686/PKGBUILD (from rev 150246, kscreengenie/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-08 11:34:24 UTC (rev 150247)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kscreengenie
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="KDE screenshot capture utility"
+arch=(i686 x86_64)
+url='https://projects.kde.org/kscreengenie'
+license=(GPL)
+depends=(kio xcb-util-cursor libkscreen hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+conflicts=(kdegraphics-ksnapshot)
+provides=(kdegraphics-ksnapshot)
+source=("http://download.kde.org/stable/$pkgname/${pkgver:0:3}/src/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('06d4f83ae20dcaed950c2343640b5d90')
+
+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: kscreengenie/repos/community-staging-i686/kscreengenie.install (from rev 150246, kscreengenie/trunk/kscreengenie.install)
===================================================================
--- community-staging-i686/kscreengenie.install (rev 0)
+++ community-staging-i686/kscreengenie.install 2015-12-08 11:34:24 UTC (rev 150247)
@@ -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: kscreengenie/repos/community-staging-x86_64/PKGBUILD (from rev 150246, kscreengenie/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-08 11:34:24 UTC (rev 150247)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kscreengenie
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="KDE screenshot capture utility"
+arch=(i686 x86_64)
+url='https://projects.kde.org/kscreengenie'
+license=(GPL)
+depends=(kio xcb-util-cursor libkscreen hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+conflicts=(kdegraphics-ksnapshot)
+provides=(kdegraphics-ksnapshot)
+source=("http://download.kde.org/stable/$pkgname/${pkgver:0:3}/src/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('06d4f83ae20dcaed950c2343640b5d90')
+
+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: kscreengenie/repos/community-staging-x86_64/kscreengenie.install (from rev 150246, kscreengenie/trunk/kscreengenie.install)
===================================================================
--- community-staging-x86_64/kscreengenie.install (rev 0)
+++ community-staging-x86_64/kscreengenie.install 2015-12-08 11:34:24 UTC (rev 150247)
@@ -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