desktop/kstars/PKGBUILD
2016-04-10 12:16:03 +01:00

36 lines
972 B
Bash

# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdeedu-kstars/
# Include global configuration
source ../kdeapps.conf
pkgname=kstars
pkgver=${_kdever}
pkgrel=1
pkgdesc="Desktop planetarium"
url="http://kde.org/applications/education/kstars/"
arch=('x86_64')
screenshot='https://www.kde.org/images/screenshots/kstars.png'
license=('GPL' 'LGPL' 'FDL')
depends=('wcslib' 'libindi' 'kplotting' 'knewstuff' 'qt5-multimedia' 'kinit' 'ktexteditor')
makedepends=('extra-cmake-modules' 'python3' 'kdoctools' 'eigen3' 'xplanet')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeedu')
replaces=('kdeedu-kstars')
conflicts=('kdeedu-kstars')
options=('docs' 'debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}