# $Id$ # Maintainer: Ronald van Haren # Contributor: Damir Perisa # ALARM: Kevin Mihelich # - drop unsupported compiler flag pkgname=stellarium pkgver=0.13.2 pkgrel=1 pkgdesc="A stellarium with great graphics and a nice database of sky-objects" arch=("i686" "x86_64") url="http://stellarium.free.fr/" license=('GPL2') depends=('libpng' 'glu' 'libgl' 'freetype2' 'qt5-quick1' 'openssl' 'desktop-file-utils' 'xdg-utils' 'phonon') install=stellarium.install makedepends=('cmake' 'boost' 'mesa' 'mesa-libgl' 'qt5-tools') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) sha1sums=('ee6b631b6e64762d4972468299013de8d44abf43') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i '/mno-ms-bitfields/d' CMakeLists.txt cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }