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

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


    Date: Friday, December 6, 2013 @ 13:52:51
  Author: giovanni
Revision: 102193

archrelease: copy trunk to community-i686, community-x86_64

Added:
  xchm/repos/community-i686/
  xchm/repos/community-i686/PKGBUILD
    (from rev 102192, xchm/trunk/PKGBUILD)
  xchm/repos/community-i686/xchm.desktop
    (from rev 102192, xchm/trunk/xchm.desktop)
  xchm/repos/community-i686/xchm.install
    (from rev 102192, xchm/trunk/xchm.install)
  xchm/repos/community-i686/xchm.xml
    (from rev 102192, xchm/trunk/xchm.xml)
  xchm/repos/community-x86_64/
  xchm/repos/community-x86_64/PKGBUILD
    (from rev 102192, xchm/trunk/PKGBUILD)
  xchm/repos/community-x86_64/xchm.desktop
    (from rev 102192, xchm/trunk/xchm.desktop)
  xchm/repos/community-x86_64/xchm.install
    (from rev 102192, xchm/trunk/xchm.install)
  xchm/repos/community-x86_64/xchm.xml
    (from rev 102192, xchm/trunk/xchm.xml)

-------------------------------+
 community-i686/PKGBUILD       |   34 ++++++++++++++++++++++++++++++++++
 community-i686/xchm.desktop   |   10 ++++++++++
 community-i686/xchm.install   |   15 +++++++++++++++
 community-x86_64/PKGBUILD     |   34 ++++++++++++++++++++++++++++++++++
 community-x86_64/xchm.desktop |   10 ++++++++++
 community-x86_64/xchm.install |   15 +++++++++++++++
 6 files changed, 118 insertions(+)

Copied: xchm/repos/community-i686/PKGBUILD (from rev 102192, xchm/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-12-06 12:52:51 UTC (rev 102193)
@@ -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"
+}

Copied: xchm/repos/community-i686/xchm.desktop (from rev 102192, xchm/trunk/xchm.desktop)
===================================================================
--- community-i686/xchm.desktop	                        (rev 0)
+++ community-i686/xchm.desktop	2013-12-06 12:52:51 UTC (rev 102193)
@@ -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

Copied: xchm/repos/community-i686/xchm.install (from rev 102192, xchm/trunk/xchm.install)
===================================================================
--- community-i686/xchm.install	                        (rev 0)
+++ community-i686/xchm.install	2013-12-06 12:52:51 UTC (rev 102193)
@@ -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
+}

Copied: xchm/repos/community-i686/xchm.xml (from rev 102192, xchm/trunk/xchm.xml)
===================================================================
(Binary files differ)

Copied: xchm/repos/community-x86_64/PKGBUILD (from rev 102192, xchm/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-12-06 12:52:51 UTC (rev 102193)
@@ -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"
+}

Copied: xchm/repos/community-x86_64/xchm.desktop (from rev 102192, xchm/trunk/xchm.desktop)
===================================================================
--- community-x86_64/xchm.desktop	                        (rev 0)
+++ community-x86_64/xchm.desktop	2013-12-06 12:52:51 UTC (rev 102193)
@@ -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

Copied: xchm/repos/community-x86_64/xchm.install (from rev 102192, xchm/trunk/xchm.install)
===================================================================
--- community-x86_64/xchm.install	                        (rev 0)
+++ community-x86_64/xchm.install	2013-12-06 12:52:51 UTC (rev 102193)
@@ -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
+}

Copied: xchm/repos/community-x86_64/xchm.xml (from rev 102192, xchm/trunk/xchm.xml)
===================================================================
(Binary files differ)




More information about the arch-commits mailing list