diff options
author | root <root@rshg054.dnsready.net> | 2012-05-31 00:03:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-31 00:03:48 +0000 |
commit | f1ae949e08a764ac063703dc9bb7f0afd7c16e96 (patch) | |
tree | b542ace0cdaf945c5e495f31e3c87537017c614d /kde-unstable/kdegraphics-ksnapshot | |
parent | f676c2f568b9c75daa3e2b688978b877f950953d (diff) |
Thu May 31 00:03:48 UTC 2012
Diffstat (limited to 'kde-unstable/kdegraphics-ksnapshot')
-rw-r--r-- | kde-unstable/kdegraphics-ksnapshot/PKGBUILD | 32 | ||||
-rw-r--r-- | kde-unstable/kdegraphics-ksnapshot/kdegraphics-ksnapshot.install | 12 |
2 files changed, 44 insertions, 0 deletions
diff --git a/kde-unstable/kdegraphics-ksnapshot/PKGBUILD b/kde-unstable/kdegraphics-ksnapshot/PKGBUILD new file mode 100644 index 000000000..6c9dc11c3 --- /dev/null +++ b/kde-unstable/kdegraphics-ksnapshot/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 160143 2012-05-29 22:58:52Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdegraphics-ksnapshot +pkgver=4.8.80 +pkgrel=1 +pkgdesc="Screen Capture Program" +url="http://kde.org/applications/graphics/ksnapshot/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdegraphics') +depends=('kdelibs' 'libkipi') +makedepends=('cmake' 'automoc4') +optdepends=('kipi-plugins') +install=${pkgname}.install +source=("http://download.kde.org/unstable/${pkgver}/src/ksnapshot-${pkgver}.tar.xz") +sha1sums=('8b19cf73a9a0ad34de612167bf7be6a47babfe8d') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../ksnapshot-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/kde-unstable/kdegraphics-ksnapshot/kdegraphics-ksnapshot.install b/kde-unstable/kdegraphics-ksnapshot/kdegraphics-ksnapshot.install new file mode 100644 index 000000000..81ce5c4b0 --- /dev/null +++ b/kde-unstable/kdegraphics-ksnapshot/kdegraphics-ksnapshot.install @@ -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 +} |