void-packages/srcpkgs/alkimia/template
2020-10-24 21:44:51 +02:00

36 lines
1.2 KiB
Bash

# Template file for 'alkimia'
pkgname=alkimia
version=8.0.4
revision=1
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson
-DSHARE_INSTALL_DIR=/usr/share -DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake qt5-host-tools
kcoreaddons gettext"
makedepends="qt5-devel gmp-devel gmpxx-devel qt5-webkit-devel
qt5-declarative-devel kconfig-devel kcoreaddons-devel kdelibs4support-devel
kpackage-devel plasma-framework-devel knewstuff-devel"
short_desc="Infrastructure for common storage and business logic"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="LGPL-2.1-or-later"
homepage="https://www.linux-apps.com/content/show.php/libalkimia?content=137323"
distfiles="${KDE_SITE}/alkimia/${version}/alkimia-${version}.tar.xz"
checksum=0004a7068dff0aa2cb6f47f70d21c129073be11f2edb21f14512bc4470487d1f
libalkimia-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}
libalkimia_package() {
short_desc+=" - library"
pkg_install() {
vmove "usr/lib/libalkimia5.so.*"
}
}