1 # Maintainer: Jesus Lazaro Plaza <jesuslazaro84 at gmail dot com>
6 _lang=all #Available languages: { all, de, en, es, fr, it, pl, pt, ru }
7 pkgdesc="Slideshow Maker In Linux Environnement"
8 url="http://smile.tuxfamily.org/"
10 arch=('i686' 'x86_64')
11 depends=('qt' 'sox' 'mplayer' 'imagemagick' 'perl')
13 source=(http://ftp.pardus.org.tr/pub/source/2009/${pkgname}-${pkgver}.tar.gz
15 md5sums=('7f1fa1b1e0ab661d5a74ac4b8ee02511'
16 'aefd88b769e18f5406647539ed953937')
19 cd ${srcdir}/${pkgname}
26 cd ${srcdir}/${pkgname}
27 mkdir -p ${pkgdir}/opt/smile
28 cp -R BIB_ManSlide Interface smile fake.pl ${pkgdir}/opt/smile || return 1
29 chmod 755 ${pkgdir}/opt/smile/fake.pl
30 chmod -R 744 ${pkgdir}/opt/smile/BIB_ManSlide ${pkgdir}/opt/smile/Interface
31 mkdir -p ${pkgdir}/usr/bin
32 ln -sf /opt/smile/smile ${pkgdir}/usr/bin/smile
34 # Installing language(s)
35 if [ ${_lang} != "fr" ]; then
36 if [ ${_lang} = "all" ]; then
37 cp ${srcdir}/${pkgname}/smile_??.qm ${pkgdir}/opt/smile/
39 install -D -m644 ${srcdir}/${pkgname}/smile_${_lang}.qm ${pkgdir}/opt/smile
44 install -D -m644 ${srcdir}/smile/Interface/Theme/logostart.png ${pkgdir}/usr/share/pixmaps/smile.png
45 install -D -m644 ${srcdir}/smile.desktop ${pkgdir}/usr/share/applications/smile.desktop