Date: Monday, May 12, 2014 @ 22:33:22 Author: jlichtblau Revision: 111068
archrelease: copy trunk to community-x86_64 Added: kchmviewer/repos/community-x86_64/PKGBUILD (from rev 111067, kchmviewer/trunk/PKGBUILD) kchmviewer/repos/community-x86_64/kchmviewer-build.patch (from rev 111067, kchmviewer/trunk/kchmviewer-build.patch) kchmviewer/repos/community-x86_64/kchmviewer.changelog (from rev 111067, kchmviewer/trunk/kchmviewer.changelog) kchmviewer/repos/community-x86_64/kchmviewer.install (from rev 111067, kchmviewer/trunk/kchmviewer.install) Deleted: kchmviewer/repos/community-x86_64/PKGBUILD kchmviewer/repos/community-x86_64/kchmviewer.changelog kchmviewer/repos/community-x86_64/kchmviewer.install ------------------------+ PKGBUILD | 84 ++++++++++++++++++++++++----------------------- kchmviewer-build.patch | 23 ++++++++++++ kchmviewer.changelog | 61 +++++++++++++++++----------------- kchmviewer.install | 24 ++++++------- 4 files changed, 111 insertions(+), 81 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-05-12 20:33:12 UTC (rev 111067) +++ PKGBUILD 2014-05-12 20:33:22 UTC (rev 111068) @@ -1,40 +0,0 @@ -# $Id$ -# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> -# Contributor: Alexander Bogdanov <and...@gmail.com> - -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 -} Copied: kchmviewer/repos/community-x86_64/PKGBUILD (from rev 111067, kchmviewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-05-12 20:33:22 UTC (rev 111068) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> +# Contributor: Alexander Bogdanov <and...@gmail.com> + +pkgname=kchmviewer +pkgver=6.1 +pkgrel=1 +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-x86_64/kchmviewer-build.patch (from rev 111067, kchmviewer/trunk/kchmviewer-build.patch) =================================================================== --- kchmviewer-build.patch (rev 0) +++ kchmviewer-build.patch 2014-05-12 20:33:22 UTC (rev 111068) @@ -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 Deleted: kchmviewer.changelog =================================================================== --- kchmviewer.changelog 2014-05-12 20:33:12 UTC (rev 111067) +++ kchmviewer.changelog 2014-05-12 20:33:22 UTC (rev 111068) @@ -1,29 +0,0 @@ -2011-12-21 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * kchmviewer 6.0-1 - -2011-01-15 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * kchmviewer-5.3 - -2010-06-14 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * Update to major release 5.2 - -2009-12-19 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * Update to major release 5.1 - -2009-07-26 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * Update to major release 4.1 - -2009-04-30 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * FS#14376 fixed - -2009-03-26 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * FS#12349 fixed - -2008-12-04 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * Update to major release 4.0 final - -2008-11-22 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> - * Update to major release 4.0beta3 - KDE4 version - -2007-08-09 Vinay S Shastry <vinayshas...@gmail.com> - * PKGBUILD: do not delete libtool files. Copied: kchmviewer/repos/community-x86_64/kchmviewer.changelog (from rev 111067, kchmviewer/trunk/kchmviewer.changelog) =================================================================== --- kchmviewer.changelog (rev 0) +++ kchmviewer.changelog 2014-05-12 20:33:22 UTC (rev 111068) @@ -0,0 +1,32 @@ +2014-05-12 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * kchmviewer 6.1-1 + +2011-12-21 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * kchmviewer 6.0-1 + +2011-01-15 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * kchmviewer-5.3 + +2010-06-14 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * Update to major release 5.2 + +2009-12-19 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * Update to major release 5.1 + +2009-07-26 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * Update to major release 4.1 + +2009-04-30 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * FS#14376 fixed + +2009-03-26 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * FS#12349 fixed + +2008-12-04 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * Update to major release 4.0 final + +2008-11-22 Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + * Update to major release 4.0beta3 - KDE4 version + +2007-08-09 Vinay S Shastry <vinayshas...@gmail.com> + * PKGBUILD: do not delete libtool files. Deleted: kchmviewer.install =================================================================== --- kchmviewer.install 2014-05-12 20:33:12 UTC (rev 111067) +++ kchmviewer.install 2014-05-12 20:33:22 UTC (rev 111068) @@ -1,12 +0,0 @@ -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 -} Copied: kchmviewer/repos/community-x86_64/kchmviewer.install (from rev 111067, kchmviewer/trunk/kchmviewer.install) =================================================================== --- kchmviewer.install (rev 0) +++ kchmviewer.install 2014-05-12 20:33:22 UTC (rev 111068) @@ -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 +}