gtk/gcompris/PKGBUILD

31 lines
1.0 KiB
Bash
Raw Normal View History

2013-04-28 07:08:01 +08:00
pkgname=('gcompris')
2013-11-08 03:34:08 +08:00
pkgver=13.11
pkgrel=1
2013-04-28 07:08:01 +08:00
pkgdesc="Educational software suite comprising of numerous activities for children aged 2 to 10"
arch=('x86_64')
url="http://gcompris.net/"
license=('GPL3')
2013-11-08 03:34:08 +08:00
depends=('pygtk' 'python-pyxml' 'librsvg' 'python-pysqlite'
2013-04-29 04:40:53 +08:00
'gstreamer0.10-base-plugins' 'filesystem-extra')
2013-04-28 07:08:01 +08:00
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://downloads.sourceforge.net/project/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
2013-11-08 03:34:08 +08:00
md5sums=('7c3396c02e44bbf72424ca12bfff9cf3')
2013-04-28 07:08:01 +08:00
build() {
cd "$srcdir/$pkgname-$pkgver"
2013-04-29 04:40:53 +08:00
./configure --prefix=/extra/usr
2013-04-28 07:08:01 +08:00
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
# Fix path for editor
sed -i -e "~s~gcompris -a~gcompris -l /extra/usr/lib/gcompris/ -a~" ${pkgdir}/extra/usr/share/applications/gcompris-edit.desktop
2013-04-28 07:08:01 +08:00
}