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