[arch-commits] Commit in libkdcraw/repos (3 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Wed Jun 5 20:03:34 UTC 2013


    Date: Wednesday, June 5, 2013 @ 22:03:33
  Author: andrea
Revision: 187637

archrelease: copy trunk to staging-x86_64

Added:
  libkdcraw/repos/staging-x86_64/
  libkdcraw/repos/staging-x86_64/PKGBUILD
    (from rev 187636, libkdcraw/trunk/PKGBUILD)
  libkdcraw/repos/staging-x86_64/libkdcraw.install
    (from rev 187636, libkdcraw/trunk/libkdcraw.install)

-------------------+
 PKGBUILD          |   33 +++++++++++++++++++++++++++++++++
 libkdcraw.install |   11 +++++++++++
 2 files changed, 44 insertions(+)

Copied: libkdcraw/repos/staging-x86_64/PKGBUILD (from rev 187636, libkdcraw/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-06-05 20:03:33 UTC (rev 187637)
@@ -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-x86_64/libkdcraw.install (from rev 187636, libkdcraw/trunk/libkdcraw.install)
===================================================================
--- staging-x86_64/libkdcraw.install	                        (rev 0)
+++ staging-x86_64/libkdcraw.install	2013-06-05 20:03:33 UTC (rev 187637)
@@ -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