updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ooo-thumbnailer / PKGBUILD
blobfcb5ef47554f0c07d76225e15989a4a4b869897e
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=6
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 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')
18 build() {
19     patch -p1 < path_with_spaces_and_icons.patch
22 package() {
23     install -D -m755 "${srcdir}"/${pkgname}-${pkgver}/$pkgname "${pkgdir}"/usr/bin/$pkgname
24     
25     # gnome 3 new thumbnailer
26     install -D -m644 "${srcdir}"/ooo-thumbnailer.thumbnailer "${pkgdir}"/usr/share/thumbnailers/ooo-thumbnailer.thumbnailer