1 # Maintainer: max.bra <max.bra at alice dot it>
2 # Contributor: max.bra <max.bra at alice dot it>
4 pkgname=ooo-thumbnailer
7 pkgdesc="ooo-thumbnailer is a lightweight LibreOffice.org document thumbnailer that can be used by Nautilus to create thumbnails for your documents"
9 url="http://packages.debian.org/sid/ooo-thumbnailer"
11 depends=('imagemagick' 'unzip')
14 conflicts=('ooo-thumbnailer-unofficial')
15 install=$pkgname.install
16 source=(http://ftp.de.debian.org/debian/pool/main/o/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz ooo-thumbnailer.thumbnailer path_with_spaces_and_icons.patch)
17 md5sums=('441b3280fdb69be029f81d2b3036b6d0' '2f84fa24b93055b577efb466c85c9369' '2137df07d7a0f99a38e8223397eab90c')
20 patch -p1 < path_with_spaces_and_icons.patch
24 install -D -m755 "${srcdir}"/${pkgname}-${pkgver}/$pkgname "${pkgdir}"/usr/bin/$pkgname
26 # gnome 3 new thumbnailer
27 install -D -m644 "${srcdir}"/ooo-thumbnailer.thumbnailer "${pkgdir}"/usr/share/thumbnailers/ooo-thumbnailer.thumbnailer