baloo5: move .pc file to -devel package.

Closes #39.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-06-13 19:01:21 -03:00 committed by Enno Boland
parent 536bacb440
commit ad89f416b0
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'baloo5'
pkgname=baloo5
version=5.43.0
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
wrksrc="${pkgname%5}-${version}"
@ -10,22 +10,23 @@ makedepends="kfilemetadata5-devel kidletime-devel kio-devel lmdb-devel"
depends="hicolor-icon-theme"
short_desc="A framework for searching and managing metadata"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/baloo5"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
checksum=d78a17895b212eb3d081990393787a6687fddc8f1be0de26149f608f0b37bf24
if [ -n "$CROSS_BUILD" ]; then
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python kcoreaddons"
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
baloo5-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}