1 # Contributor: Cyril Lashkevich <notorca at gmail dot com>
6 pkgdesc="A .chm files (MS HTML help file format) viewer"
8 url="http://kchmviewer.sourceforge.net/"
10 depends=('chmlib' 'qtwebkit')
12 install=kchmviewer.install
13 source=(http://downloads.sourceforge.net/kchmviewer/kchmviewer-$pkgver.tar.gz)
15 md5sums=('940fdeeb5f50cdd0d0611f7a13e003f9')
18 cd ${srcdir}/kchmviewer-$pkgver
22 install -D -m755 ${srcdir}/kchmviewer-$pkgver/bin/kchmviewer \
23 ${pkgdir}/usr/bin/kchmviewer || return 1
26 install -D -m644 ${srcdir}/kchmviewer-$pkgver/packages/kchmviewer.png \
27 ${pkgdir}/usr/share/pixmaps/kchmviewer.png || return 1
29 #msits.protocol file provided by kdegraphics package
30 rm -rf ${pkgdir}/usr/share/kde4 || return 1
31 #kio_msits.so file provided by kdegraphics package - FS#14376
32 rm -rf ${pkgdir}/usr/lib || return 1