[arch-commits] Commit in libkipi/repos (3 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Wed Jun 5 20:04:12 UTC 2013
Date: Wednesday, June 5, 2013 @ 22:04:12
Author: andrea
Revision: 187646
archrelease: copy trunk to staging-i686
Added:
libkipi/repos/staging-i686/
libkipi/repos/staging-i686/PKGBUILD
(from rev 187645, libkipi/trunk/PKGBUILD)
libkipi/repos/staging-i686/libkipi.install
(from rev 187645, libkipi/trunk/libkipi.install)
-----------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
libkipi.install | 11 +++++++++++
2 files changed, 44 insertions(+)
Copied: libkipi/repos/staging-i686/PKGBUILD (from rev 187645, libkipi/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-06-05 20:04:12 UTC (rev 187646)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 145371 2011-12-22 07:58:59Z andrea $
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkipi
+pkgver=4.10.4
+pkgrel=1
+pkgdesc="An interface to use kipi-plugins from a KDE application"
+url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkipi"
+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/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('f4d96eddaad6e160c3ca579420117ed2deec74f6')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: libkipi/repos/staging-i686/libkipi.install (from rev 187645, libkipi/trunk/libkipi.install)
===================================================================
--- staging-i686/libkipi.install (rev 0)
+++ staging-i686/libkipi.install 2013-06-05 20:04:12 UTC (rev 187646)
@@ -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