gtk/gcompris/PKGBUILD

30 lines
961 B
Bash
Raw Normal View History

2014-06-04 21:27:29 +08:00
pkgname=gcompris
2015-03-09 19:49:44 +08:00
pkgver=15.02
2014-04-04 04:00:46 +08:00
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')
2014-04-04 04:00:46 +08:00
depends=('pygtk' 'python-pyxml' 'librsvg' 'gstreamer0.10-base-plugins')
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')
2014-08-08 01:50:15 +08:00
source=("http://gcompris.net/download/${pkgname}-${pkgver}.tar.bz2")
2015-03-09 19:49:44 +08:00
sha256sums=('c3e2f84f459d747b853b0424e366d0ce7b1f4ef00d660cdde5084712cf5c3ad4')
2013-04-28 07:08:01 +08:00
build() {
2014-08-08 01:50:15 +08:00
cd ${pkgname}-${pkgver}
2013-04-28 07:08:01 +08:00
./configure --prefix=/usr
2013-04-28 07:08:01 +08:00
make
}
package() {
2014-08-08 01:50:15 +08:00
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
# Fix path for editor
2014-08-08 01:50:15 +08:00
sed -i -e "~s~gcompris -a~gcompris -l /usr/lib/gcompris/ -a~" "${pkgdir}/usr/share/applications/gcompris-edit.desktop"
2013-04-28 07:08:01 +08:00
}