# $Id: PKGBUILD 144691 2011-12-08 09:20:17Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kstars pkgver=4.7.4 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' 'eigen' 'cfitsio' 'libindi') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kstars-${pkgver}.tar.bz2") sha1sums=('d4e489093b440e4246c817821187193e4e53be66') build() { cd "${srcdir}" mkdir build cd build cmake ../kstars-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DWITH_Xplanet=OFF make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }