[arch-commits] Commit in libkdcraw/repos (3 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Wed Jun 5 20:03:37 UTC 2013
Date: Wednesday, June 5, 2013 @ 22:03:37
Author: andrea
Revision: 187638
archrelease: copy trunk to staging-i686
Added:
libkdcraw/repos/staging-i686/
libkdcraw/repos/staging-i686/PKGBUILD
(from rev 187637, libkdcraw/trunk/PKGBUILD)
libkdcraw/repos/staging-i686/libkdcraw.install
(from rev 187637, libkdcraw/trunk/libkdcraw.install)
-------------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
libkdcraw.install | 11 +++++++++++
2 files changed, 44 insertions(+)
Copied: libkdcraw/repos/staging-i686/PKGBUILD (from rev 187637, libkdcraw/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-06-05 20:03:37 UTC (rev 187638)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkdcraw
+pkgver=4.10.4
+pkgrel=1
+pkgdesc="A C++ interface used to decode RAW picture"
+url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs' 'lcms2')
+makedepends=('cmake' 'automoc4')
+replaces=('kdegraphics-libs')
+conflicts=('kdegraphics-libs')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('3390eb344d62f7e44fe5db65eb171d397142fa96')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_LCMS2=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: libkdcraw/repos/staging-i686/libkdcraw.install (from rev 187637, libkdcraw/trunk/libkdcraw.install)
===================================================================
--- staging-i686/libkdcraw.install (rev 0)
+++ staging-i686/libkdcraw.install 2013-06-05 20:03:37 UTC (rev 187638)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list