updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / ooo-thumbnailer / PKGBUILD
blobf7cd318b74a72efe3fcb6d51dad2fddb44a093ca
1 # Maintainer: max.bra <max.bra at alice dot it>
2 # Contributor: max.bra <max.bra at alice dot it>
4 pkgname=ooo-thumbnailer
5 pkgver=0.2
6 pkgrel=5
7 pkgdesc="ooo-thumbnailer is a lightweight LibreOffice.org document thumbnailer that can be used by Nautilus to create thumbnails for your documents"
8 arch=('any')
9 url="http://packages.debian.org/sid/ooo-thumbnailer"
10 license=('GPL')
11 depends=('imagemagick' 'unzip')
12 makedepends=()
13 optdepends=()
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')
19 build() {
20     patch -p1 < path_with_spaces_and_icons.patch
23 package() {
24     install -D -m755 "${srcdir}"/${pkgname}-${pkgver}/$pkgname "${pkgdir}"/usr/bin/$pkgname
25     
26     # gnome 3 new thumbnailer
27     install -D -m644 "${srcdir}"/ooo-thumbnailer.thumbnailer "${pkgdir}"/usr/share/thumbnailers/ooo-thumbnailer.thumbnailer