1 pkgname=kde-odf-thumbnail
4 pkgdesc="KDE thumbnail-plugin to generate thumbnails for ODF documents in Dolphin/Konqueror"
6 url="http://kenai.com/projects/kde-odf-thumbnail"
8 depends=('qt' 'kdebase-workspace')
9 makedepends=('cmake' 'automoc4')
10 install=$pkgname.install
11 source=(http://kenai.com/projects/kde-odf-thumbnail/downloads/download/$pkgver/$pkgname-$pkgver.tar.gz)
12 md5sums=('edf694939f4b5d5e97c3fe2f91e7cec3')
15 cd $srcdir/$pkgname-$pkgver
16 rm -rf build && mkdir build && cd build
17 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ..
22 cd "$srcdir/$pkgname-$pkgver/build"
23 make DESTDIR="$pkgdir/" install
24 install -Dm644 $srcdir/$pkgname-$pkgver/LICENSE $pkgdir/usr/share/licenses/$pkgname/COPYING
27 # vim:set ts=2 sw=2 et: