desktop/kdeedu-kstars/PKGBUILD

38 lines
1.0 KiB
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=('kinit' 'knewstuff' 'kplotting' 'ktexteditor' 'qt5-multimedia' 'indilib' 'wcslib')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'eigen3')
groups=("kde" "kdeedu" "kde-uninstall")
categories=('education')
provides=('kdeedu-kstars')
replaces=('kdeedu-kstars')
conflicts=('kdeedu-kstars')
options=('docs' '!header' 'debug' 'log')
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 ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}