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 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)
16 md5sums=('441b3280fdb69be029f81d2b3036b6d0' '9165c91c960afd2a97126c70873841a7' '2137df07d7a0f99a38e8223397eab90c')
19 patch -p1 < path_with_spaces_and_icons.patch
23 install -D -m755 "${srcdir}"/${pkgname}-${pkgver}/$pkgname "${pkgdir}"/usr/bin/$pkgname
25 # gnome 3 new thumbnailer
26 install -D -m644 "${srcdir}"/ooo-thumbnailer.thumbnailer "${pkgdir}"/usr/share/thumbnailers/ooo-thumbnailer.thumbnailer