move gcompris to [desktop]

New versions no longer require GTK+.
This commit is contained in:
Adrián Chaves Fernández 2016-08-21 11:22:03 +02:00
parent 6d3767e3d5
commit 0b47fff924

View File

@ -1,29 +0,0 @@
pkgname=gcompris
pkgver=15.10
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=('6aba73e2a1db0f50d43a40ee1a4a2b9d62a96e68542971b555c9debd8f50fc38')
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"
}