summaryrefslogtreecommitdiff
path: root/community/gcompris/PKGBUILD
blob: 5a6bb97aec471dd758ac85afdd766b8c0b927c32 (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 61899 2012-01-10 12:57:08Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Daniel Isenmann <daniel.isenmann [at] gmx.de>

pkgname=gcompris
pkgver=12.01
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=('77e5a4901550dfcad632277437b6895a65a553225224c8a78f2bd5b7b459aa91')

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: