summaryrefslogtreecommitdiff
path: root/community/gcompris/PKGBUILD
blob: 42a73d65764e6aac0a636229a5ddc9adda30836a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 61028 2011-12-20 17:34:12Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Daniel Isenmann <daniel.isenmann [at] gmx.de>

pkgname=gcompris
pkgver=11.12
pkgrel=1
pkgdesc="Educational software suite comprising of numerous activities for children aged 2 to 10"
arch=('i686' 'x86_64')
url="http://gcompris.net/"
license=('GPL3')
depends=('pygtk' 'pyxml' 'librsvg' 'gnet' 'python-pysqlite'
         'gstreamer0.10-base-plugins')
optdepends=('gnucap: for computer simulation within the electricity activity'
            'tuxpaint: for the painting activity'
            'gnuchess: for the chess activity')
makedepends=('texinfo' 'texi2html' 'intltool' 'gettext' 'gnuchess')
options=('!libtool')
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('ab57e7c96df66114f7298947f6725364f4a8b811f1bb1e9470cbd63eea9e6d81')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  depends+=('gcompris-data')

  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install-exec
}

# vim:set ts=2 sw=2 et: