updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / kchmviewer-qt / PKGBUILD
blob55b47b47a5a9c9921accdbe71d4545c5acc1b6f5
1 # Contributor: Cyril Lashkevich <notorca at gmail dot com>
3 pkgname=kchmviewer-qt
4 pkgver=6.0
5 pkgrel=2
6 pkgdesc="A .chm files (MS HTML help file format) viewer"
7 arch=('i686' 'x86_64')
8 url="http://kchmviewer.sourceforge.net/"
9 license=('GPL')
10 depends=('chmlib' 'qtwebkit')
11 options=('libtool')
12 install=kchmviewer.install
13 source=(http://downloads.sourceforge.net/kchmviewer/kchmviewer-$pkgver.tar.gz)
15 md5sums=('940fdeeb5f50cdd0d0611f7a13e003f9')
17 build() {
18     cd ${srcdir}/kchmviewer-$pkgver
20     qmake
21     make || return 1
22     install -D -m755 ${srcdir}/kchmviewer-$pkgver/bin/kchmviewer \
23     ${pkgdir}/usr/bin/kchmviewer || return 1
25     #icon file
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