# # KDE SC Packages for Chakra, part of chakra-project.org # # maintainer Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=kdeedu-marble _pkgname=marble pkgver=${_kdever} pkgrel=1 pkgdesc="Desktop Globe" url="http://kde.org/applications/education/marble/" screenshot="http://www.kde.org/images/screenshots/marble.png" arch=('x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') depends=("kde-runtime>=${_kdever}" 'shapelib') makedepends=('cmake' 'automoc4' 'qt-mobility' 'gpsd') optdepends=('qt-mobility: enable QtMobility Location Provider' 'gpsd: support for gps devices') provides=('marble') groups=("kde" "kdeedu" "kde-uninstall") categories=('education') options=('docs' '!splithdr' 'splitdbg' 'log') install=${pkgname}.install source=("$_mirror/${_pkgname}-$_kdever.tar.xz") md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`) build() { cd ${srcdir}/${_pkgname}-${pkgver} cmake . -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' } package() { cd ${srcdir}/${_pkgname}-${pkgver} make DESTDIR=${pkgdir} install }