updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / abuledu-associations / PKGBUILD
blobb7262ad66bc1a782cad60e825e7f09343fcf7635
1 # Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
3 pkgname=abuledu-associations
4 pkgver=3.0.0
5 pkgrel=1
6 pkgdesc="Help children make mental associations, pictures/words and pictures/sounds (in french)"
7 url="http://www.abuledu.org/leterrier/accueil"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 depends=('abuledu-leterrier' 'esound')
11 source=('http://apt.ryxeo.com/leterrier/pool/main/a/abuledu-associations/abuledu-associations_3.0.0-3ryxeo3.tar.gz')
12 md5sums=('83c8658f4aa19165ff9c4d22d39f1a11')
13 install=abuledu-associations.install
15 build() {
16   cd ${startdir}/src/$pkgname-$pkgver
17   mkdir -p ${startdir}/pkg/usr/bin
18   mkdir -p ${startdir}/pkg/usr/share/{pixmaps,applications,abuledu-associations}
19   sed -i 's_abuledu-associations.png_/usr/share/pixmaps/abuledu-associations.png_' abuledu-associations.desktop
20   cp -a abuledu-associations.desktop ${startdir}/pkg/usr/share/applications/abuledu-associations.desktop
21   bzip2 -dc mandrake/abuledu-associations-48.png.bz2 > ${startdir}/pkg/usr/share/pixmaps/abuledu-associations.png
22   cp -a * ${startdir}/pkg/usr/share/abuledu-associations
23   mkdir -p ${startdir}/pkg/usr/share/doc/abuledu-associations
24   cp -a aide/* ${startdir}/pkg/usr/share/doc/abuledu-associations
25   chmod -R 755 ${startdir}/pkg/usr/share/abuledu-associations
26   echo "#!/bin/sh" > ${startdir}/pkg/usr/bin/associations
27   echo "(cd /usr/share/abuledu-associations && ./associations.tcl)" >> ${startdir}/pkg/usr/bin/associations
28   chmod 755 ${startdir}/pkg/usr/bin/associations