1 # Contributor: Rémy EVEN <evenremy@gmail.com>
5 pkgdesc="The great french dictionary of Émile Littré (Qt)"
7 url="http://code.google.com/p/dictionnaire-le-littre/"
8 license=('custom:"CeCILL"')
10 source=(http://dictionnaire-le-littre.googlecode.com/files/Littre-source-${pkgver}.tar.bz2 \
11 main.cpp.${pkgver}.diff \
13 md5sums=('c71666ae4cf6353d2bbb7e98dcca9159'
14 'd2c1baf1e14deef8b22898074c8c12f4'
15 '8d5d8a0d397eb446b47b413da331f7b7')
18 cd "$srcdir/Littre-source-2.0"
19 patch -f src/main.cpp ../main.cpp.${pkgver}.diff || return 1
22 install -D -m 644 Licence-CeCILL.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENCE
23 install -D -m 644 ../${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop
24 install -D -m 644 "ui/Girls I do adore....png" ${pkgdir}/usr/share/pixmaps/${pkgname}.png
25 install -D -m 755 bin/Littre ${pkgdir}/usr/bin/littre || return 1
26 install -D -d bin ${pkgdir}/usr/share/${pkgname} || return 1
27 install -D -m 644 bin/*.* ${pkgdir}/usr/share/${pkgname} || return 1