[arch-commits] Commit in libkipi/repos (4 files)
Andrea Scarpino
andrea at archlinux.org
Thu Nov 24 16:14:11 UTC 2011
Date: Thursday, November 24, 2011 @ 11:14:10
Author: andrea
Revision: 143320
db-move: moved libkipi from [staging] to [kde-unstable] (x86_64)
Added:
libkipi/repos/kde-unstable-x86_64/
libkipi/repos/kde-unstable-x86_64/PKGBUILD
(from rev 143277, libkipi/repos/staging-x86_64/PKGBUILD)
libkipi/repos/kde-unstable-x86_64/libkipi.install
(from rev 143277, libkipi/repos/staging-x86_64/libkipi.install)
Deleted:
libkipi/repos/staging-x86_64/
-----------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
libkipi.install | 11 +++++++++++
2 files changed, 43 insertions(+)
Copied: libkipi/repos/kde-unstable-x86_64/PKGBUILD (from rev 143277, libkipi/repos/staging-x86_64/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2011-11-24 16:14:10 UTC (rev 143320)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkipi
+pkgver=4.7.80
+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=('cd223fb1dbdbfbdea39b3abf79291fe81f534906')
+
+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/repos/kde-unstable-x86_64/libkipi.install (from rev 143277, libkipi/repos/staging-x86_64/libkipi.install)
===================================================================
--- kde-unstable-x86_64/libkipi.install (rev 0)
+++ kde-unstable-x86_64/libkipi.install 2011-11-24 16:14:10 UTC (rev 143320)
@@ -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