From 6a642c093f29814cdd0fdefeee3ab9400eae490f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Nov 2011 23:14:55 +0000 Subject: Fri Nov 25 23:14:55 UTC 2011 --- kde-unstable/kdegraphics-ksnapshot/PKGBUILD | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 kde-unstable/kdegraphics-ksnapshot/PKGBUILD (limited to 'kde-unstable/kdegraphics-ksnapshot/PKGBUILD') diff --git a/kde-unstable/kdegraphics-ksnapshot/PKGBUILD b/kde-unstable/kdegraphics-ksnapshot/PKGBUILD new file mode 100644 index 000000000..1efef8d49 --- /dev/null +++ b/kde-unstable/kdegraphics-ksnapshot/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 143402 2011-11-24 16:16:11Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kdegraphics-ksnapshot +pkgver=4.7.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.bz2") +sha1sums=('5016877111e974fb745e33a36900fa2be4665279') + +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 +} -- cgit v1.2.3-54-g00ecf