# $Id: PKGBUILD 189541 2013-07-03 17:01:48Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kstars pkgver=4.10.5 pkgrel=1 pkgdesc="Desktop Planetarium" url="http://kde.org/applications/education/kstars/" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdebase-runtime' 'wcslib' 'libindi') makedepends=('cmake' 'automoc4' 'eigen') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kstars-${pkgver}.tar.xz") sha1sums=('724acde654d7d66ec8bf6c088c2f892eaf9d103d') build() { mkdir build cd build cmake ../kstars-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr \ -DWITH_Xplanet=OFF make } package() { cd build make DESTDIR="${pkgdir}" install }