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

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 16:14:06 UTC 2011


    Date: Thursday, November 24, 2011 @ 11:14:06
  Author: andrea
Revision: 143316

db-move: moved libkdcraw from [staging] to [kde-unstable] (x86_64)

Added:
  libkdcraw/repos/kde-unstable-x86_64/
  libkdcraw/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 143277, libkdcraw/repos/staging-x86_64/PKGBUILD)
  libkdcraw/repos/kde-unstable-x86_64/libkdcraw.install
    (from rev 143277, libkdcraw/repos/staging-x86_64/libkdcraw.install)
Deleted:
  libkdcraw/repos/staging-x86_64/

-------------------+
 PKGBUILD          |   32 ++++++++++++++++++++++++++++++++
 libkdcraw.install |   11 +++++++++++
 2 files changed, 43 insertions(+)

Copied: libkdcraw/repos/kde-unstable-x86_64/PKGBUILD (from rev 143277, libkdcraw/repos/staging-x86_64/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2011-11-24 16:14:06 UTC (rev 143316)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkdcraw
+pkgver=4.7.80
+pkgrel=1
+pkgdesc="A C++ interface used to decode RAW picture"
+url="http://kde.org/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs' 'lcms')
+makedepends=('cmake' 'automoc4')
+replaces=('kdegraphics-libs')
+conflicts=('kdegraphics-libs')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('67f6b65a98a4ab24e946fdf2c4b3523c803c935a')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: libkdcraw/repos/kde-unstable-x86_64/libkdcraw.install (from rev 143277, libkdcraw/repos/staging-x86_64/libkdcraw.install)
===================================================================
--- kde-unstable-x86_64/libkdcraw.install	                        (rev 0)
+++ kde-unstable-x86_64/libkdcraw.install	2011-11-24 16:14:06 UTC (rev 143316)
@@ -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