mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-28 09:52:21 +08:00
30 lines
961 B
Bash
30 lines
961 B
Bash
pkgname=gcompris
|
|
pkgver=15.02
|
|
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")
|
|
sha256sums=('c3e2f84f459d747b853b0424e366d0ce7b1f4ef00d660cdde5084712cf5c3ad4')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${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"
|
|
}
|