[arch-commits] Commit in kchmviewer/trunk (PKGBUILD kchmviewer.changelog)

Jaroslav Lichtblau jlichtblau at archlinux.org
Mon Feb 23 20:21:24 UTC 2015


    Date: Monday, February 23, 2015 @ 21:21:24
  Author: jlichtblau
Revision: 128147

upgpkg: kchmviewer 7.3-1

Modified:
  kchmviewer/trunk/PKGBUILD
  kchmviewer/trunk/kchmviewer.changelog

----------------------+
 PKGBUILD             |   20 ++++++++++----------
 kchmviewer.changelog |    3 +++
 2 files changed, 13 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-23 19:12:31 UTC (rev 128146)
+++ PKGBUILD	2015-02-23 20:21:24 UTC (rev 128147)
@@ -3,24 +3,22 @@
 # Contributor: Alexander Bogdanov <andorn at gmail.com>
 
 pkgname=kchmviewer
-pkgver=7.2
-pkgrel=2
+pkgver=7.3
+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' 'libzip')
-makedepends=('automoc4' 'cmake')
-options=('libtool')
+depends=('desktop-file-utils' 'chmlib' 'xdg-utils' 'libzip' 'qt5-webkit')
 install=$pkgname.install
 changelog=$pkgname.changelog
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-7.2.1.tar.gz)
-sha256sums=('91c5a74b26956e76400a02285d534d1eebbb51ee478dcaaab7beff7aa870772a')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('7cb805c9a836b7622bbea1d5df8873fb711979285abb21bccf095f25cf3f6007')
 
 build() {
   cd $pkgname-$pkgver
 
-  cmake . -DCMAKE_INSTALL_PREFIX=/usr
+  qmake PREFIX=/usr
   make
 }
 
@@ -27,8 +25,10 @@
 package() {
   cd $pkgname-$pkgver
 
-  make DESTDIR="${pkgdir}" install
+#   make DISTDIR="${pkgdir}" install
 
-#icon file
+  install -Dm755 bin/$pkgname "${pkgdir}"/usr/bin/$pkgname
+#icon/desktop file
   install -Dm644 packages/$pkgname.png "${pkgdir}"/usr/share/pixmaps/$pkgname.png
+  install -Dm644 packages/$pkgname.desktop "${pkgdir}"/usr/share/applications/$pkgname.desktop
 }

Modified: kchmviewer.changelog
===================================================================
--- kchmviewer.changelog	2015-02-23 19:12:31 UTC (rev 128146)
+++ kchmviewer.changelog	2015-02-23 20:21:24 UTC (rev 128147)
@@ -1,3 +1,6 @@
+2015-02-23  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 7.3-1
+
 2015-02-08  Jaroslav Lichtblau <svetlemodry at archlinux.org>
 	* kchmviewer 7.2-2
 	* FS#43740 fix, source file updated



More information about the arch-commits mailing list