[arch-commits] Commit in xchm/repos (10 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Mon Jan 6 20:58:29 UTC 2014
Date: Monday, January 6, 2014 @ 21:58:29
Author: bpiotrowski
Revision: 103495
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
xchm/repos/community-staging-i686/
xchm/repos/community-staging-i686/PKGBUILD
(from rev 103494, xchm/trunk/PKGBUILD)
xchm/repos/community-staging-i686/xchm.desktop
(from rev 103494, xchm/trunk/xchm.desktop)
xchm/repos/community-staging-i686/xchm.install
(from rev 103494, xchm/trunk/xchm.install)
xchm/repos/community-staging-i686/xchm.xml
(from rev 103494, xchm/trunk/xchm.xml)
xchm/repos/community-staging-x86_64/
xchm/repos/community-staging-x86_64/PKGBUILD
(from rev 103494, xchm/trunk/PKGBUILD)
xchm/repos/community-staging-x86_64/xchm.desktop
(from rev 103494, xchm/trunk/xchm.desktop)
xchm/repos/community-staging-x86_64/xchm.install
(from rev 103494, xchm/trunk/xchm.install)
xchm/repos/community-staging-x86_64/xchm.xml
(from rev 103494, xchm/trunk/xchm.xml)
---------------------------------------+
community-staging-i686/PKGBUILD | 35 ++++++++++++++++++++++++++++++++
community-staging-i686/xchm.desktop | 10 +++++++++
community-staging-i686/xchm.install | 15 +++++++++++++
community-staging-x86_64/PKGBUILD | 35 ++++++++++++++++++++++++++++++++
community-staging-x86_64/xchm.desktop | 10 +++++++++
community-staging-x86_64/xchm.install | 15 +++++++++++++
6 files changed, 120 insertions(+)
Copied: xchm/repos/community-staging-i686/PKGBUILD (from rev 103494, xchm/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-01-06 20:58:29 UTC (rev 103495)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=xchm
+pkgver=1.23
+pkgrel=2
+pkgdesc="A cross-platform GUI front-end to chmlib"
+arch=('i686' 'x86_64')
+url="http://xchm.sourceforge.net/"
+license=('GPL')
+depends=('chmlib' 'wxgtk2.8' '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"
+ #export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
+ ./configure --prefix=/usr --with-wx-config=wx-config-2.8
+ 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-staging-i686/xchm.desktop (from rev 103494, xchm/trunk/xchm.desktop)
===================================================================
--- community-staging-i686/xchm.desktop (rev 0)
+++ community-staging-i686/xchm.desktop 2014-01-06 20:58:29 UTC (rev 103495)
@@ -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-staging-i686/xchm.install (from rev 103494, xchm/trunk/xchm.install)
===================================================================
--- community-staging-i686/xchm.install (rev 0)
+++ community-staging-i686/xchm.install 2014-01-06 20:58:29 UTC (rev 103495)
@@ -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-staging-i686/xchm.xml (from rev 103494, xchm/trunk/xchm.xml)
===================================================================
(Binary files differ)
Copied: xchm/repos/community-staging-x86_64/PKGBUILD (from rev 103494, xchm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2014-01-06 20:58:29 UTC (rev 103495)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=xchm
+pkgver=1.23
+pkgrel=2
+pkgdesc="A cross-platform GUI front-end to chmlib"
+arch=('i686' 'x86_64')
+url="http://xchm.sourceforge.net/"
+license=('GPL')
+depends=('chmlib' 'wxgtk2.8' '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"
+ #export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
+ ./configure --prefix=/usr --with-wx-config=wx-config-2.8
+ 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-staging-x86_64/xchm.desktop (from rev 103494, xchm/trunk/xchm.desktop)
===================================================================
--- community-staging-x86_64/xchm.desktop (rev 0)
+++ community-staging-x86_64/xchm.desktop 2014-01-06 20:58:29 UTC (rev 103495)
@@ -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-staging-x86_64/xchm.install (from rev 103494, xchm/trunk/xchm.install)
===================================================================
--- community-staging-x86_64/xchm.install (rev 0)
+++ community-staging-x86_64/xchm.install 2014-01-06 20:58:29 UTC (rev 103495)
@@ -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-staging-x86_64/xchm.xml (from rev 103494, xchm/trunk/xchm.xml)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list