[arch-commits] Commit in kchmviewer/repos (5 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Wed Oct 1 05:35:15 UTC 2014
Date: Wednesday, October 1, 2014 @ 07:35:15
Author: jlichtblau
Revision: 119910
archrelease: copy trunk to community-staging-x86_64
Added:
kchmviewer/repos/community-staging-x86_64/
kchmviewer/repos/community-staging-x86_64/PKGBUILD
(from rev 119909, kchmviewer/trunk/PKGBUILD)
kchmviewer/repos/community-staging-x86_64/kchmviewer-build.patch
(from rev 119909, kchmviewer/trunk/kchmviewer-build.patch)
kchmviewer/repos/community-staging-x86_64/kchmviewer.changelog
(from rev 119909, kchmviewer/trunk/kchmviewer.changelog)
kchmviewer/repos/community-staging-x86_64/kchmviewer.install
(from rev 119909, kchmviewer/trunk/kchmviewer.install)
------------------------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
kchmviewer-build.patch | 23 +++++++++++++++++++++++
kchmviewer.changelog | 32 ++++++++++++++++++++++++++++++++
kchmviewer.install | 12 ++++++++++++
4 files changed, 111 insertions(+)
Copied: kchmviewer/repos/community-staging-x86_64/PKGBUILD (from rev 119909, kchmviewer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2014-10-01 05:35:15 UTC (rev 119910)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Alexander Bogdanov <andorn at gmail.com>
+
+pkgname=kchmviewer
+pkgver=6.1
+pkgrel=2
+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' 'patch')
+options=('libtool')
+install=$pkgname.install
+changelog=$pkgname.changelog
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname-build.patch)
+sha256sums=('f673c3aaca735d799d14b9f6f1b302e9bb77d5c0a0b601b4b5e0beed1c99fe78'
+ '567bdcaa1809618fe3a441345586a491247b76e4dd46db8ff8497bd53d74adbc')
+
+build() {
+ cd $pkgname-$pkgver
+
+ patch -Np1 -i "${srcdir}"/$pkgname-build.patch
+
+ 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
+}
Copied: kchmviewer/repos/community-staging-x86_64/kchmviewer-build.patch (from rev 119909, kchmviewer/trunk/kchmviewer-build.patch)
===================================================================
--- community-staging-x86_64/kchmviewer-build.patch (rev 0)
+++ community-staging-x86_64/kchmviewer-build.patch 2014-10-01 05:35:15 UTC (rev 119910)
@@ -0,0 +1,23 @@
+diff -ruN kchmviewer-6.1-orig/packages/kchmviewer.desktop kchmviewer-6.1/packages/kchmviewer.desktop
+--- kchmviewer-6.1-orig/packages/kchmviewer.desktop 2009-12-15 07:02:57.000000000 +0100
++++ kchmviewer-6.1/packages/kchmviewer.desktop 2014-05-12 20:37:00.983182220 +0200
+@@ -3,7 +3,6 @@
+ Categories=Qt;KDE;Office;Viewer;
+ Terminal=false
+ Type=Application
+-Encoding=UTF-8
+ Exec=kchmviewer %f
+ Icon=kchmviewer
+ GenericName=CHM file viewer
+diff -ruN kchmviewer-6.1-orig/src/CMakeLists.txt kchmviewer-6.1/src/CMakeLists.txt
+--- kchmviewer-6.1-orig/src/CMakeLists.txt 2011-12-19 08:16:43.000000000 +0100
++++ kchmviewer-6.1/src/CMakeLists.txt 2014-05-12 20:35:51.195078972 +0200
+@@ -8,7 +8,7 @@
+ dialog_chooseurlfromlist.cpp
+ dialog_setup.cpp
+ kde-qt.cpp
+- keyeventfilter.cpp
++# keyeventfilter.cpp
+ main.cpp
+ mainwindow.cpp
+ navigationpanel.cpp
Copied: kchmviewer/repos/community-staging-x86_64/kchmviewer.changelog (from rev 119909, kchmviewer/trunk/kchmviewer.changelog)
===================================================================
--- community-staging-x86_64/kchmviewer.changelog (rev 0)
+++ community-staging-x86_64/kchmviewer.changelog 2014-10-01 05:35:15 UTC (rev 119910)
@@ -0,0 +1,32 @@
+2014-05-12 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * kchmviewer 6.1-1
+
+2011-12-21 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * kchmviewer 6.0-1
+
+2011-01-15 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * kchmviewer-5.3
+
+2010-06-14 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * Update to major release 5.2
+
+2009-12-19 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * Update to major release 5.1
+
+2009-07-26 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * Update to major release 4.1
+
+2009-04-30 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * FS#14376 fixed
+
+2009-03-26 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * FS#12349 fixed
+
+2008-12-04 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * Update to major release 4.0 final
+
+2008-11-22 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * Update to major release 4.0beta3 - KDE4 version
+
+2007-08-09 Vinay S Shastry <vinayshastry at gmail.com>
+ * PKGBUILD: do not delete libtool files.
Copied: kchmviewer/repos/community-staging-x86_64/kchmviewer.install (from rev 119909, kchmviewer/trunk/kchmviewer.install)
===================================================================
--- community-staging-x86_64/kchmviewer.install (rev 0)
+++ community-staging-x86_64/kchmviewer.install 2014-10-01 05:35:15 UTC (rev 119910)
@@ -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
+}
More information about the arch-commits
mailing list