gtk/gcompris/PKGBUILD
2014-04-03 22:00:46 +02:00

30 lines
932 B
Bash

pkgname=('gcompris')
pkgver=14.03
pkgrel=1
pkgdesc="Educational software suite comprising of numerous activities for children aged 2 to 10"
arch=('x86_64')
url="http://gcompris.net/"
license=('GPL3')
depends=('pygtk' 'python-pyxml' 'librsvg' 'gstreamer0.10-base-plugins')
makedepends=('texinfo' 'texi2html' 'intltool' 'gettext' 'gnuchess')
optdepends=('gnucap: for computer simulation within the electricity activity'
'tuxpaint: for the painting activity'
'gnuchess: for the chess activity')
source=(http://gcompris.net/download/$pkgname-$pkgver.tar.bz2)
md5sums=('13d453357ca2c6ca52009d585a40170a')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
# Fix path for editor
sed -i -e "~s~gcompris -a~gcompris -l /usr/lib/gcompris/ -a~" ${pkgdir}/usr/share/applications/gcompris-edit.desktop
}