# Contributor: Jakob Nixdorf <jakob.nixdorf@online.de>
pkgname=childsplay-alphabet-sounds
pkgver=0.9.1
pkgrel=1
pkgdesc="A suite of educational games for young children -- Sound Translations"
url="http://www.schoolsplay.org/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('childsplay>=1.3')
source=(http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ca-0.9.1.tgz
http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_de-0.9.1.tgz
http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_es-0.9.1.tgz
http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_fr-0.9.1.tgz
http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_it-0.9.1.tgz
http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_nl-0.9.1.tgz
http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_pt-0.9.1.tgz
http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ru-0.9.1.tgz
http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_sl-0.9.1.tgz
http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_sv-0.9.2.tgz)
md5sums=('f262b6db7734d4c4c9507514ba4ca02e'
'7088f35d6746a12f01d782ee749b1818'
'959ba7c2e922ba7d7f939d0b5edaa166'
'a7b6b136671d08f82b00160ebb9beff4'
'6a6c510249f3fc0f4d626937cfc215be'
'06c4a4a3906b09cd6e8f43e6493bcbd6'
'74f938723bf150f397cf1661cb959cc2'
'1023b6dd5bdf70eaa037b39a63360d49'
'04508ccba7a2cafe7b3485ee9539a730'
'61e12b63ef23a5cf4168e8a60d1a519a')
build() {
cd ${srcdir}
mkdir -p ${pkgdir}/usr/share/{sp_alphabetsounds,childsplay_sp/CPData/FlashcardsData/names}
cp -rf alphabet_sounds_ca-0.9.1/AlphabetSounds/* ${pkgdir}/usr/share/sp_alphabetsounds/
cp -rf alphabet_sounds_de-0.9.1/AlphabetSounds/* ${pkgdir}/usr/share/sp_alphabetsounds/
cp -rf alphabet_sounds_es-0.9.1/AlphabetSounds/* ${pkgdir}/usr/share/sp_alphabetsounds/
cp -rf alphabet_sounds_fr-0.9.1/AlphabetSounds/* ${pkgdir}/usr/share/sp_alphabetsounds/
cp -rf alphabet_sounds_it-0.9.1/AlphabetSounds/* ${pkgdir}/usr/share/sp_alphabetsounds/
cp -rf alphabet_sounds_nl-0.9.1/AlphabetSounds/* ${pkgdir}/usr/share/sp_alphabetsounds/
cp -rf alphabet_sounds_pt-0.9.1/AlphabetSounds/* ${pkgdir}/usr/share/sp_alphabetsounds/
cp -rf alphabet_sounds_ru-0.9.1/AlphabetSounds/* ${pkgdir}/usr/share/sp_alphabetsounds/
cp -rf alphabet_sounds_sl-0.9.1/AlphabetSounds/* ${pkgdir}/usr/share/sp_alphabetsounds/
cp -rf alphabet_sounds_sv-0.9.2/AlphabetSounds/* ${pkgdir}/usr/share/sp_alphabetsounds/
cp -rf alphabet_sounds_ca-0.9.1/FlashCardsSounds/* ${pkgdir}/usr/share/childsplay_sp/CPData/FlashcardsData/names/
cp -rf alphabet_sounds_de-0.9.1/FlashCardsSounds/* ${pkgdir}/usr/share/childsplay_sp/CPData/FlashcardsData/names/
cp -rf alphabet_sounds_es-0.9.1/FlashCardsSounds/* ${pkgdir}/usr/share/childsplay_sp/CPData/FlashcardsData/names/
cp -rf alphabet_sounds_fr-0.9.1/FlashCardsSounds/* ${pkgdir}/usr/share/childsplay_sp/CPData/FlashcardsData/names/
cp -rf alphabet_sounds_it-0.9.1/FlashCardsSounds/* ${pkgdir}/usr/share/childsplay_sp/CPData/FlashcardsData/names/
cp -rf alphabet_sounds_nl-0.9.1/FlashCardsSounds/* ${pkgdir}/usr/share/childsplay_sp/CPData/FlashcardsData/names/
cp -rf alphabet_sounds_ru-0.9.1/FlashCardsSounds/* ${pkgdir}/usr/share/childsplay_sp/CPData/FlashcardsData/names/
}