[arch-commits] Commit in libkdcraw/trunk (PKGBUILD libkdcraw.install)
Andrea Scarpino
andrea at archlinux.org
Mon Jul 25 00:13:01 UTC 2011
Date: Sunday, July 24, 2011 @ 20:13:00
Author: andrea
Revision: 132584
move pkgbuilds to trunk; cleanup
Added:
libkdcraw/trunk/PKGBUILD
(from rev 132557, libkdcraw/kde-unstable/PKGBUILD)
libkdcraw/trunk/libkdcraw.install
(from rev 132557, libkdcraw/kde-unstable/libkdcraw.install)
-------------------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
libkdcraw.install | 11 +++++++++++
2 files changed, 42 insertions(+)
Copied: libkdcraw/trunk/PKGBUILD (from rev 132557, libkdcraw/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2011-07-25 00:13:00 UTC (rev 132584)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkdcraw
+pkgver=4.7.0
+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')
+conflicts=('kdegraphics-libs')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('7c8d7ed8eb18c3f2951d451a2cf46dde9a336216')
+
+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/trunk/libkdcraw.install (from rev 132557, libkdcraw/kde-unstable/libkdcraw.install)
===================================================================
--- libkdcraw.install (rev 0)
+++ libkdcraw.install 2011-07-25 00:13:00 UTC (rev 132584)
@@ -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