added forgotten files

This commit is contained in:
Fabian Kosmale 2014-03-26 12:38:46 +00:00
parent 827103a7bc
commit fcf1a7fbb6
3 changed files with 63 additions and 0 deletions

7
baloo/baloo.install Normal file
View File

@ -0,0 +1,7 @@
post_install() {
echo " > ATTENTION:"
echo " > nepomuk has been deprecated as of KDE 4.13"
echo " > Run nepomukbaloomigrator to migrate your old metadata to baloo"
echo " > Note that there is no continous synchronization between nepomuk and baloo"
echo " > See http://community.kde.org/Baloo for more details"
}

View File

@ -0,0 +1,12 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

44
kfilemetadata/PKGBUILD Normal file
View File

@ -0,0 +1,44 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="kfilemetadata"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc="File indexing for baloo?"
url="http://www.kde.org"
license=('GPL'
'LGPL'
'FDL')
options=('docs'
'!header'
'debug'
'log')
depends=("kdelibs>=${_kdever}"
'poppler-qt'
'ffmpeg'
'ebook-tools')
makedepends=('pkg-config'
'cmake'
'automoc4'
'doxygen')
source=($_mirror/${pkgname}-$_kdever.tar.xz)
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
build() {
cd ${pkgname}-${pkgver}
rm -rf build
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
}