Date: Tuesday, September 9, 2014 @ 13:53:37 Author: andrea Revision: 221275
archrelease: copy trunk to testing-i686, testing-x86_64 Added: baloo4/repos/testing-i686/ baloo4/repos/testing-i686/PKGBUILD (from rev 221274, baloo4/trunk/PKGBUILD) baloo4/repos/testing-i686/baloo4.install (from rev 221274, baloo4/trunk/baloo4.install) baloo4/repos/testing-x86_64/ baloo4/repos/testing-x86_64/PKGBUILD (from rev 221274, baloo4/trunk/PKGBUILD) baloo4/repos/testing-x86_64/baloo4.install (from rev 221274, baloo4/trunk/baloo4.install) -------------------------------+ testing-i686/PKGBUILD | 65 ++++++++++++++++++++++++++++++++++++++++ testing-i686/baloo4.install | 11 ++++++ testing-x86_64/PKGBUILD | 65 ++++++++++++++++++++++++++++++++++++++++ testing-x86_64/baloo4.install | 11 ++++++ 4 files changed, 152 insertions(+) Copied: baloo4/repos/testing-i686/PKGBUILD (from rev 221274, baloo4/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-09-09 11:53:37 UTC (rev 221275) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgbase=baloo4 +pkgname=('baloo4' 'baloo4-akonadi' 'libbaloo4') +pkgver=4.14.0 +pkgrel=2 +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/kde/kdelibs/baloo' +license=('LGPL') +makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs' 'xapian-core' 'kfilemetadata') +source=("http://download.kde.org/stable/${pkgver}/src/baloo-${pkgver}.tar.xz") +sha1sums=('6aa998d62f9f92c08a3eedc72b050fdb00e7bad0') + +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=('libbaloo4') + replaces=('baloo') + conflicts=('baloo<=4.14.0-1') + provides=('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' 'kfilemetadata') + 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/testing-i686/baloo4.install (from rev 221274, baloo4/trunk/baloo4.install) =================================================================== --- testing-i686/baloo4.install (rev 0) +++ testing-i686/baloo4.install 2014-09-09 11:53:37 UTC (rev 221275) @@ -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/testing-x86_64/PKGBUILD (from rev 221274, baloo4/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-09-09 11:53:37 UTC (rev 221275) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgbase=baloo4 +pkgname=('baloo4' 'baloo4-akonadi' 'libbaloo4') +pkgver=4.14.0 +pkgrel=2 +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/kde/kdelibs/baloo' +license=('LGPL') +makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs' 'xapian-core' 'kfilemetadata') +source=("http://download.kde.org/stable/${pkgver}/src/baloo-${pkgver}.tar.xz") +sha1sums=('6aa998d62f9f92c08a3eedc72b050fdb00e7bad0') + +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=('libbaloo4') + replaces=('baloo') + conflicts=('baloo<=4.14.0-1') + provides=('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' 'kfilemetadata') + 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/testing-x86_64/baloo4.install (from rev 221274, baloo4/trunk/baloo4.install) =================================================================== --- testing-x86_64/baloo4.install (rev 0) +++ testing-x86_64/baloo4.install 2014-09-09 11:53:37 UTC (rev 221275) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}