[arch-commits] Commit in libkipi (repos trunk trunk/PKGBUILD trunk/libkipi.install)
Andrea Scarpino
andrea at archlinux.org
Wed Jan 4 17:29:23 UTC 2012
Date: Wednesday, January 4, 2012 @ 12:29:23
Author: andrea
Revision: 146047
KDE 4.8RC2
Added:
libkipi/trunk/
libkipi/trunk/PKGBUILD
libkipi/trunk/libkipi.install
Deleted:
libkipi/repos/
-----------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
libkipi.install | 11 +++++++++++
2 files changed, 43 insertions(+)
Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD (rev 0)
+++ trunk/PKGBUILD 2012-01-04 17:29:23 UTC (rev 146047)
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 145371 2011-12-22 07:58:59Z andrea $
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkipi
+pkgver=4.7.97
+pkgrel=1
+pkgdesc="An interface to use kipi-plugins from a KDE application"
+url="http://kde.org/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs')
+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=('1ab76e3d3330418b3a88098601f5f5f61bc03f3d')
+
+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
+}
Added: trunk/libkipi.install
===================================================================
--- trunk/libkipi.install (rev 0)
+++ trunk/libkipi.install 2012-01-04 17:29:23 UTC (rev 146047)
@@ -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