mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
246 lines
6.5 KiB
Bash
246 lines
6.5 KiB
Bash
# $Id: PKGBUILD 54209 2009-10-07 10:16:43Z andrea $
|
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
pkgbase=kdeedu
|
|
pkgname=('kdeedu-blinken'
|
|
'kdeedu-data'
|
|
'kdeedu-kalgebra'
|
|
'kdeedu-kalzium'
|
|
'kdeedu-kanagram'
|
|
'kdeedu-kbruch'
|
|
'kdeedu-kgeography'
|
|
'kdeedu-khangman'
|
|
'kdeedu-kig'
|
|
'kdeedu-kiten'
|
|
'kdeedu-klettres'
|
|
'kdeedu-kmplot'
|
|
'kdeedu-kstars'
|
|
'kdeedu-ktouch'
|
|
'kdeedu-kturtle'
|
|
'kdeedu-kwordquiz'
|
|
'kdeedu-libkdeedu'
|
|
'kdeedu-marble'
|
|
'kdeedu-parley'
|
|
'kdeedu-step')
|
|
pkgver=4.3.2
|
|
pkgrel=1
|
|
arch=('i686' 'x86_64')
|
|
url='http://www.kde.org'
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
groups=('kde' 'kdeedu')
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4' 'ocaml>=3.11.1' 'facile>=1.1-10' 'eigen' 'cfitsio' 'kdelibs' 'kdebase-runtime' 'openbabel' 'libqalculate' 'gsl' 'boost' 'indilib')
|
|
source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
|
|
md5sums=('d96d87627471d5b34ccfbb44a5fa50f8')
|
|
|
|
build() {
|
|
cd $srcdir
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgbase}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package_kdeedu-blinken() {
|
|
pkgdesc='A memory enhancement game'
|
|
depends=('kdebase-runtime' 'kdeedu-libkdeedu')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/blinken
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/blinken
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-data() {
|
|
pkgdesc='Data for KDE Educational Software'
|
|
groups=()
|
|
cd $srcdir/build/data
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kalgebra() {
|
|
pkgdesc='Math Expression Solver and Plotter'
|
|
depends=('kdelibs' 'kdebase-runtime')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kalgebra
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kalgebra
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kalzium() {
|
|
pkgdesc='KDE Periodic Table of Elements'
|
|
depends=('kdebase-runtime' 'kdeedu-libkdeedu' 'openbabel')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kalzium
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kalzium
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kanagram() {
|
|
pkgdesc='KDE Letter Order Game'
|
|
depends=('kdebase-runtime' 'kdeedu-libkdeedu' 'kdeedu-data')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kanagram
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kanagram
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kbruch() {
|
|
pkgdesc='Practice exercises with fractions'
|
|
depends=('kdelibs' 'kdebase-runtime')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kbruch
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kbruch
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kgeography() {
|
|
pkgdesc='A Geography Learning Program'
|
|
depends=('kdelibs' 'kdebase-runtime')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kgeography
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kgeography
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-khangman() {
|
|
pkgdesc='KDE Hangman Game'
|
|
depends=('kdebase-runtime' 'kdeedu-libkdeedu' 'kdeedu-data')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/khangman
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/khangman
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kig() {
|
|
pkgdesc='Explore Geometric Constructions'
|
|
depends=('kdelibs' 'kdebase-runtime' 'boost')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kig
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kig
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kiten() {
|
|
pkgdesc='Japanese Reference and Study Tool'
|
|
depends=('kdelibs' 'kdebase-runtime')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kiten
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kiten
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-klettres() {
|
|
pkgdesc='a KDE program to learn the alphabet'
|
|
depends=('kdelibs' 'kdebase-runtime')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/klettres
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/klettres
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kmplot() {
|
|
pkgdesc='Function Plotter'
|
|
depends=('kdelibs' 'kdebase-runtime')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kmplot
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kmplot
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kstars() {
|
|
pkgdesc='Desktop Planetarium'
|
|
depends=('kdelibs' 'kdebase-runtime' 'indilib')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kstars
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kstars
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-ktouch() {
|
|
pkgdesc='Touch Typing Tutor'
|
|
depends=('kdelibs' 'kdebase-runtime')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/ktouch
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/ktouch
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kturtle() {
|
|
pkgdesc='Educational Programming Environment'
|
|
depends=('kdelibs' 'kdebase-runtime')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kturtle
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kturtle
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-kwordquiz() {
|
|
pkgdesc='A flashcard and vocabulary learning program'
|
|
depends=('kdebase-runtime' 'kdeedu-libkdeedu' 'kdeedu-data')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/kwordquiz
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/kwordquiz
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-libkdeedu() {
|
|
pkgdesc='Support library for KDE Educational Software'
|
|
groups=()
|
|
depends=('kdelibs')
|
|
cd $srcdir/build/libkdeedu
|
|
make DESTDIR=$pkgdir install
|
|
install -D -m644 $srcdir/${pkgbase}-${pkgver}/cmake/modules/FindKDEEdu.cmake \
|
|
$pkgdir/usr/share/apps/cmake/modules/FindKDEEdu.cmake
|
|
}
|
|
|
|
package_kdeedu-marble() {
|
|
pkgdesc='Desktop Globe'
|
|
depends=('kdelibs' 'kdebase-runtime')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/marble
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/marble
|
|
make DESTDIR=$pkgdir install
|
|
install -D -m644 $srcdir/${pkgbase}-${pkgver}/cmake/modules/FindMarbleWidget.cmake \
|
|
$pkgdir/usr/share/apps/cmake/modules/FindMarbleWidget.cmake
|
|
}
|
|
|
|
package_kdeedu-parley() {
|
|
pkgdesc='Vocabulary Trainer'
|
|
depends=('kdebase-runtime' 'kdeedu-libkdeedu' 'kdeedu-data')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/parley
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/parley
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_kdeedu-step() {
|
|
pkgdesc='Simulate physics experiments'
|
|
depends=('kdelibs' 'kdebase-runtime' 'gsl' 'libqalculate')
|
|
install='kdeedu.install'
|
|
cd $srcdir/build/step
|
|
make DESTDIR=$pkgdir install
|
|
cd $srcdir/build/doc/step
|
|
make DESTDIR=$pkgdir install
|
|
# FIXME
|
|
rm -f $pkgdir/usr/share/icons/oxygen/22x22/actions/pointer.png
|
|
}
|