From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/kchmviewer/PKGBUILD | 40 +++++++++++++++++++++++++++++++ community/kchmviewer/kchmviewer.changelog | 29 ++++++++++++++++++++++ community/kchmviewer/kchmviewer.install | 12 ++++++++++ 3 files changed, 81 insertions(+) create mode 100644 community/kchmviewer/PKGBUILD create mode 100644 community/kchmviewer/kchmviewer.changelog create mode 100644 community/kchmviewer/kchmviewer.install (limited to 'community/kchmviewer') diff --git a/community/kchmviewer/PKGBUILD b/community/kchmviewer/PKGBUILD new file mode 100644 index 000000000..3a41d670c --- /dev/null +++ b/community/kchmviewer/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 85365 2013-03-01 10:34:18Z andrea $ +# Maintainer: Jaroslav Lichtblau +# Contributor: Alexander Bogdanov + +pkgname=kchmviewer +pkgver=6.0 +pkgrel=3 +pkgdesc="A .chm files (MS HTML help file format) viewer" +arch=('i686' 'x86_64') +url="http://kchmviewer.sourceforge.net/" +license=('GPL') +depends=('desktop-file-utils' 'chmlib' 'kdebase-runtime' 'xdg-utils') +makedepends=('automoc4' 'cmake') +options=('libtool') +install=$pkgname.install +changelog=$pkgname.changelog +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) +sha256sums=('81c856434a86977039c36cb10f2427cc8cb1ea29a778f24fff2285d49c717979') + +build() { + cd $pkgname-$pkgver + + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $pkgname-$pkgver + + make DESTDIR=${pkgdir} install + +#icon file + install -D -m644 ${srcdir}/$pkgname-$pkgver/packages/$pkgname.png \ + ${pkgdir}/usr/share/pixmaps/$pkgname.png + +#msits.protocol file provided by kdegraphics-okular package + rm -rf ${pkgdir}/usr/share/kde4 +#kio_msits.so file provided by kdegraphics-okular package - FS#14376 + rm -rf ${pkgdir}/usr/lib +} diff --git a/community/kchmviewer/kchmviewer.changelog b/community/kchmviewer/kchmviewer.changelog new file mode 100644 index 000000000..3204bc3dc --- /dev/null +++ b/community/kchmviewer/kchmviewer.changelog @@ -0,0 +1,29 @@ +2011-12-21 Jaroslav Lichtblau + * kchmviewer 6.0-1 + +2011-01-15 Jaroslav Lichtblau + * kchmviewer-5.3 + +2010-06-14 Jaroslav Lichtblau + * Update to major release 5.2 + +2009-12-19 Jaroslav Lichtblau + * Update to major release 5.1 + +2009-07-26 Jaroslav Lichtblau + * Update to major release 4.1 + +2009-04-30 Jaroslav Lichtblau + * FS#14376 fixed + +2009-03-26 Jaroslav Lichtblau + * FS#12349 fixed + +2008-12-04 Jaroslav Lichtblau + * Update to major release 4.0 final + +2008-11-22 Jaroslav Lichtblau + * Update to major release 4.0beta3 - KDE4 version + +2007-08-09 Vinay S Shastry + * PKGBUILD: do not delete libtool files. diff --git a/community/kchmviewer/kchmviewer.install b/community/kchmviewer/kchmviewer.install new file mode 100644 index 000000000..82baa7bf0 --- /dev/null +++ b/community/kchmviewer/kchmviewer.install @@ -0,0 +1,12 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf