# # Apps Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa pkgname=smile pkgver=1.0 pkgrel=2 _lang=all #Available languages: { all, de, en, es, fr, it, pl, pt, ru } pkgdesc="Slideshow Maker In Linux Environnement" url="http://smile.tuxfamily.org/" license=('GPL') arch=('i686' 'x86_64') depends=('qt' 'sox' 'mplayer' 'imagemagick' 'perl') categories=('multimedia') install=smile.install source=(smile-1.0.tar.gz smile.desktop) md5sums=('7f1fa1b1e0ab661d5a74ac4b8ee02511' 'aefd88b769e18f5406647539ed953937') build() { cd ${startdir}/src/${pkgname} /usr/bin/qmake make clean make || return 1 mkdir -p ${startdir}/pkg/opt/smile cp -R BIB_ManSlide Interface smile fake.pl ${startdir}/pkg/opt/smile || return 1 mkdir -p ${startdir}/pkg/usr/bin ln -sf /opt/smile/smile ${startdir}/pkg/usr/bin/smile # Installing language(s) if [ ${_lang} != "fr" ]; then if [ ${_lang} = "all" ]; then cp ${startdir}/src/${pkgname}/smile_??.qm ${startdir}/pkg/opt/smile/ else install -D -m644 ${startdir}/src/${pkgname}/smile_${_lang}.qm ${startdir}/pkg/opt/smile fi fi # Creating menu item install -D -m644 ${startdir}/src/smile/Interface/Theme/logostart.png ${startdir}/pkg/usr/share/pixmaps/smile.png install -D -m644 ${startdir}/src/smile.desktop ${startdir}/pkg/usr/share/applications/smile.desktop }