[arch-commits] Commit in baloo4/repos (6 files)
Felix Yan
fyan at archlinux.org
Tue Dec 8 14:30:14 UTC 2015
Date: Tuesday, December 8, 2015 @ 15:30:13
Author: fyan
Revision: 253923
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
baloo4/repos/staging-i686/
baloo4/repos/staging-i686/PKGBUILD
(from rev 253921, baloo4/trunk/PKGBUILD)
baloo4/repos/staging-i686/baloo4.install
(from rev 253921, baloo4/trunk/baloo4.install)
baloo4/repos/staging-x86_64/
baloo4/repos/staging-x86_64/PKGBUILD
(from rev 253921, baloo4/trunk/PKGBUILD)
baloo4/repos/staging-x86_64/baloo4.install
(from rev 253921, baloo4/trunk/baloo4.install)
-------------------------------+
staging-i686/PKGBUILD | 63 ++++++++++++++++++++++++++++++++++++++++
staging-i686/baloo4.install | 11 ++++++
staging-x86_64/PKGBUILD | 63 ++++++++++++++++++++++++++++++++++++++++
staging-x86_64/baloo4.install | 11 ++++++
4 files changed, 148 insertions(+)
Copied: baloo4/repos/staging-i686/PKGBUILD (from rev 253921, baloo4/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-08 14:30:13 UTC (rev 253923)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=baloo4
+pkgname=('baloo4' 'baloo4-akonadi' 'libbaloo4')
+pkgver=4.14.3
+pkgrel=3
+arch=('i686' 'x86_64')
+url='https://community.kde.org/Baloo'
+license=('LGPL')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs' 'xapian-core' 'kfilemetadata4')
+source=("http://download.kde.org/stable/${pkgver}/src/baloo-${pkgver}.tar.xz")
+sha1sums=('bf90846545c5b5a0b0badab25dc3e839dc0c6574')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../baloo-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package_baloo4() {
+ pkgdesc='A KDE4 framework for searching and managing metadata'
+ depends=('baloo4-akonadi')
+ conflicts=('baloo')
+ install=${pkgname}.install
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Fix conflicts
+ rm -r "${pkgdir}"{/usr/bin/akonadi_baloo_indexer,/usr/include,/usr/lib,/usr/share/akonadi,/usr/share/kde4}
+}
+
+package_baloo4-akonadi() {
+ pkgdesc='Baloo resource for Akonadi'
+ depends=('libbaloo4')
+ conflicts=('baloo<=4.14.0-1')
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Fix conflicts
+ rm -r "${pkgdir}"{/etc,/usr/bin/baloo*,/usr/include,/usr/lib,/usr/share/{kde4,autostart,dbus-1,icons,polkit-1}}
+}
+
+package_libbaloo4() {
+ pkgdesc='Libraries for baloo4'
+ depends=('kdepimlibs' 'xapian-core' 'kfilemetadata4')
+ conflicts=('baloo<=4.14.0-1')
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Fix conflicts
+ rm -r "${pkgdir}"{/etc,/usr/bin,/usr/share/{akonadi,autostart,dbus-1,icons,polkit-1}}
+}
+
Copied: baloo4/repos/staging-i686/baloo4.install (from rev 253921, baloo4/trunk/baloo4.install)
===================================================================
--- staging-i686/baloo4.install (rev 0)
+++ staging-i686/baloo4.install 2015-12-08 14:30:13 UTC (rev 253923)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: baloo4/repos/staging-x86_64/PKGBUILD (from rev 253921, baloo4/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-08 14:30:13 UTC (rev 253923)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=baloo4
+pkgname=('baloo4' 'baloo4-akonadi' 'libbaloo4')
+pkgver=4.14.3
+pkgrel=3
+arch=('i686' 'x86_64')
+url='https://community.kde.org/Baloo'
+license=('LGPL')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs' 'xapian-core' 'kfilemetadata4')
+source=("http://download.kde.org/stable/${pkgver}/src/baloo-${pkgver}.tar.xz")
+sha1sums=('bf90846545c5b5a0b0badab25dc3e839dc0c6574')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../baloo-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package_baloo4() {
+ pkgdesc='A KDE4 framework for searching and managing metadata'
+ depends=('baloo4-akonadi')
+ conflicts=('baloo')
+ install=${pkgname}.install
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Fix conflicts
+ rm -r "${pkgdir}"{/usr/bin/akonadi_baloo_indexer,/usr/include,/usr/lib,/usr/share/akonadi,/usr/share/kde4}
+}
+
+package_baloo4-akonadi() {
+ pkgdesc='Baloo resource for Akonadi'
+ depends=('libbaloo4')
+ conflicts=('baloo<=4.14.0-1')
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Fix conflicts
+ rm -r "${pkgdir}"{/etc,/usr/bin/baloo*,/usr/include,/usr/lib,/usr/share/{kde4,autostart,dbus-1,icons,polkit-1}}
+}
+
+package_libbaloo4() {
+ pkgdesc='Libraries for baloo4'
+ depends=('kdepimlibs' 'xapian-core' 'kfilemetadata4')
+ conflicts=('baloo<=4.14.0-1')
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Fix conflicts
+ rm -r "${pkgdir}"{/etc,/usr/bin,/usr/share/{akonadi,autostart,dbus-1,icons,polkit-1}}
+}
+
Copied: baloo4/repos/staging-x86_64/baloo4.install (from rev 253921, baloo4/trunk/baloo4.install)
===================================================================
--- staging-x86_64/baloo4.install (rev 0)
+++ staging-x86_64/baloo4.install 2015-12-08 14:30:13 UTC (rev 253923)
@@ -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