[arch-commits] Commit in xchm/repos (4 files)

Antonio Rojas arojas at archlinux.org
Mon Mar 25 09:16:53 UTC 2019


    Date: Monday, March 25, 2019 @ 09:16:51
  Author: arojas
Revision: 443436

archrelease: copy trunk to community-staging-x86_64

Added:
  xchm/repos/community-staging-x86_64/
  xchm/repos/community-staging-x86_64/PKGBUILD
    (from rev 443435, xchm/trunk/PKGBUILD)
  xchm/repos/community-staging-x86_64/xchm.appdata.xml
    (from rev 443435, xchm/trunk/xchm.appdata.xml)
  xchm/repos/community-staging-x86_64/xchm.desktop
    (from rev 443435, xchm/trunk/xchm.desktop)

------------------+
 PKGBUILD         |   36 ++++++++++++++++++++++++++++++++++++
 xchm.appdata.xml |   33 +++++++++++++++++++++++++++++++++
 xchm.desktop     |   10 ++++++++++
 3 files changed, 79 insertions(+)

Copied: xchm/repos/community-staging-x86_64/PKGBUILD (from rev 443435, xchm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-03-25 09:16:51 UTC (rev 443436)
@@ -0,0 +1,36 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=xchm
+pkgver=1.27
+pkgrel=1
+pkgdesc="Cross-platform GUI front-end to chmlib"
+arch=('x86_64')
+url="https://github.com/rzvncj/xCHM"
+license=('GPL')
+depends=('chmlib' 'wxgtk3')
+source=("https://github.com/rzvncj/xCHM/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
+        xchm.desktop
+        xchm.appdata.xml)
+sha256sums=('12989099d242282c43c709bf917da386e57c947f2d8f7dcfd1d0d728b6999650'
+            '3d2eb40ca611bd4b27e20e70a18f506658db83f65d9289333c7af46f53c6bfc4'
+            '5e785053bfa99f3f64efdcbcdebdb3800b61fa0c90eaa7e11b484b710922f91c')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config-gtk3
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 art/xchm-16.png "$pkgdir/usr/share/icons/hicolor/16x16/apps/xchm.png"
+  install -Dm644 art/xchm-32.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/xchm.png"
+  install -Dm644 art/xchm-48.png "$pkgdir/usr/share/icons/hicolor/48x48/apps/xchm.png"
+  install -Dm644 art/xchm-128.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/xchm.png"
+  install -Dm644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+  rm -r "$pkgdir"/usr/share/pixmaps
+}

Copied: xchm/repos/community-staging-x86_64/xchm.appdata.xml (from rev 443435, xchm/trunk/xchm.appdata.xml)
===================================================================
--- community-staging-x86_64/xchm.appdata.xml	                        (rev 0)
+++ community-staging-x86_64/xchm.appdata.xml	2019-03-25 09:16:51 UTC (rev 443436)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+  <id>net.sourceforge.xchm</id>
+  <launchable type="desktop-id">xchm.desktop</launchable>
+  <name>xCHM</name>
+  <summary>View CHM files</summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0</project_license>
+  <description>
+    <p>xCHM is a viewer for Compiled HTML Help (CHM) files. It can show the contents tree if one is available, print the current page and do the usual history stunts. It allows one to change fonts and search for text in all the pages of the file, or in the page's titles.</p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image>http://xchm.sourceforge.net/pics/1viewing.jpg</image>
+    </screenshot>
+    <screenshot>
+      <image>http://xchm.sourceforge.net/pics/2searching.jpg</image>
+    </screenshot>
+    <screenshot>
+      <image>http://xchm.sourceforge.net/pics/3font.jpg</image>
+    </screenshot>
+    <screenshot>
+      <image>http://xchm.sourceforge.net/pics/4find.jpg</image>
+    </screenshot>
+    <screenshot>
+      <image>http://xchm.sourceforge.net/pics/5printing.jpg</image>
+    </screenshot>
+    <screenshot>
+      <image>http://xchm.sourceforge.net/pics/6russian.jpg</image>
+    </screenshot>
+  </screenshots>
+  <url type="homepage">http://xchm.sourceforge.net/</url>
+</component>

Copied: xchm/repos/community-staging-x86_64/xchm.desktop (from rev 443435, xchm/trunk/xchm.desktop)
===================================================================
--- community-staging-x86_64/xchm.desktop	                        (rev 0)
+++ community-staging-x86_64/xchm.desktop	2019-03-25 09:16:51 UTC (rev 443436)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=xCHM
+Comment=View CHM files
+Exec=xchm %f
+Terminal=false
+Type=Application
+Icon=xchm
+Categories=Viewer;Utility;
+MimeType=application/x-chm;application/vnd.ms-htmlhelp;
+StartupNotify=true


More information about the arch-commits mailing list