Date: Friday, November 20, 2015 @ 07:39:36 Author: arojas Revision: 251474
Add spectacle, replacement of ksnapshot Added: spectacle/ spectacle/kde-unstable/ spectacle/kde-unstable/PKGBUILD spectacle/kde-unstable/spectacle.install -------------------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ spectacle.install | 12 ++++++++++++ 2 files changed, 49 insertions(+) Added: spectacle/kde-unstable/PKGBUILD =================================================================== --- spectacle/kde-unstable/PKGBUILD (rev 0) +++ spectacle/kde-unstable/PKGBUILD 2015-11-20 06:39:36 UTC (rev 251474) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Antonio Rojas <[email protected]> + +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 +} + Property changes on: spectacle/kde-unstable/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: spectacle/kde-unstable/spectacle.install =================================================================== --- spectacle/kde-unstable/spectacle.install (rev 0) +++ spectacle/kde-unstable/spectacle.install 2015-11-20 06:39:36 UTC (rev 251474) @@ -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 +}
