void-packages/srcpkgs/marble5/template
Piotr Wójcik ac8f116bd7 New package: marble5-17.12.3
[ci skip]
2018-03-20 12:09:17 +01:00

33 lines
1.1 KiB
Bash

# Template file for 'marble5'
pkgname=marble5
version=17.12.3
revision=1
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
homepage="https://marble.kde.org"
license="GPL-3"
short_desc="Virtual globe and world atlas"
build_style=cmake
wrksrc="${pkgname%5}-${version}"
hostmakedepends="extra-cmake-modules"
makedepends="knewstuff-devel kparts-devel krunner-devel libressl-devel
phonon-devel plasma-framework-devel qt5-devel qt5-location-devel
qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite
qt5-plugin-tds qt5-serialport-devel qt5-webkit-devel"
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
checksum=f1004b0a63767cfba91865623598c309ca7529a7e37ccf451d439f5edbb6f8dd
conflicts="marble"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" kdoctools qt5-host-tools qt5-qmake"
fi
marble5-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
conflicts="marble-devel"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}