[arch-commits] Commit in (7 files)

Giovanni Scafora giovanni at nymeria.archlinux.org
Fri Dec 6 12:52:35 UTC 2013


    Date: Friday, December 6, 2013 @ 13:52:35
  Author: giovanni
Revision: 102192

extra2community: Moving xchm from extra to community

Added:
  xchm/
  xchm/repos/
  xchm/trunk/
  xchm/trunk/PKGBUILD
  xchm/trunk/xchm.desktop
  xchm/trunk/xchm.install
  xchm/trunk/xchm.xml

--------------+
 PKGBUILD     |   34 ++++++++++++++++++++++++++++++++++
 xchm.desktop |   10 ++++++++++
 xchm.install |   15 +++++++++++++++
 xchm.xml     |    1 +
 4 files changed, 60 insertions(+)

Added: xchm/trunk/PKGBUILD
===================================================================
--- xchm/trunk/PKGBUILD	                        (rev 0)
+++ xchm/trunk/PKGBUILD	2013-12-06 12:52:35 UTC (rev 102192)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=xchm
+pkgver=1.23
+pkgrel=1
+pkgdesc="A cross-platform GUI front-end to chmlib"
+arch=('i686' 'x86_64')
+url="http://xchm.sourceforge.net/"
+license=('GPL')
+depends=('chmlib' 'wxgtk' 'desktop-file-utils')
+install=xchm.install
+source=("http://downloads.sourceforge.net/sourceforge/xchm/${pkgname}-${pkgver}.tar.gz"
+        'xchm.desktop'
+        'xchm.xml')
+md5sums=('486d029bd81071a2d04e7181909b1602'
+         '31fb9692b9ee9f2a205f58b9ff4bc4fe'
+         '4102b0a393f5c60236143cc034664dd0')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR=${pkgdir} install
+  install -D -m644 ${srcdir}/xchm.desktop "${pkgdir}/usr/share/applications/xchm.desktop"
+  install -D -m644 ${srcdir}/xchm.xml "${pkgdir}/usr/share/mime/packages/xchm.xml"
+}


Property changes on: xchm/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: xchm/trunk/xchm.desktop
===================================================================
--- xchm/trunk/xchm.desktop	                        (rev 0)
+++ xchm/trunk/xchm.desktop	2013-12-06 12:52:35 UTC (rev 102192)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Xchm
+Comment=Views CHM files
+Exec=xchm %f
+Terminal=false
+Type=Application
+Icon=xchm-48
+Categories=Viewer;Utility;
+MimeType=application/x-chm;
+StartupNotify=true

Added: xchm/trunk/xchm.install
===================================================================
--- xchm/trunk/xchm.install	                        (rev 0)
+++ xchm/trunk/xchm.install	2013-12-06 12:52:35 UTC (rev 102192)
@@ -0,0 +1,15 @@
+post_install() {
+  #gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-desktop-database -q
+  update-mime-database usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  #gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-desktop-database -q
+  update-mime-database usr/share/mime > /dev/null
+}

Added: xchm/trunk/xchm.xml
===================================================================
(Binary files differ)

Index: xchm/trunk/xchm.xml
===================================================================
--- xchm/trunk/xchm.xml	2013-12-06 12:45:33 UTC (rev 102191)
+++ xchm/trunk/xchm.xml	2013-12-06 12:52:35 UTC (rev 102192)

Property changes on: xchm/trunk/xchm.xml
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
\ No newline at end of property



More information about the arch-commits mailing list