[arch-commits] Commit in chmsee/trunk (PKGBUILD)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Thu Jun 27 01:34:03 UTC 2013


    Date: Thursday, June 27, 2013 @ 03:34:02
  Author: foutrelis
Revision: 93169

upgpkg: chmsee 2.0.1-1

xulrunner 22.0 rebuild.

Modified:
  chmsee/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-06-26 17:56:10 UTC (rev 93168)
+++ PKGBUILD	2013-06-27 01:34:02 UTC (rev 93169)
@@ -4,20 +4,20 @@
 # Contributor: Ermanno <erm67 at yahoo.it>
 
 pkgname=chmsee
-pkgver=2.0
-pkgrel=6
+pkgver=2.0.1
+pkgrel=1
 arch=('i686' 'x86_64')
 pkgdesc="A chm (MS HTML help file format) viewer based on xulrunner."
 url="http://chmsee.googlecode.com/"
 license=('GPL')
-depends=('xulrunner>18.0' 'xulrunner<22.0' 'chmlib' 'desktop-file-utils')
+depends=('xulrunner>18.0' 'xulrunner<23.0' 'chmlib' 'desktop-file-utils')
 makedepends=('python2')
 #source=(chmsee-$pkgver.tar.gz::https://github.com/jungleji/chmsee/tarball/v$pkgver
 #source=(https://github.com/jungleji/chmsee/archive/b2a3c2ad32bfe9db067665ea1928d7e130d1b5e7.zip
 source=(https://chmsee.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
         chmsee)
 install=chmsee.install
-md5sums=('a9a1e79094e5a2674caa3b1f1e34f5e7'
+md5sums=('08f813d65ed2a9e3af8ff1092650d0a5'
          '1787edd1de8aa75bd9fa75a5ab319e85')
 
 build() {
@@ -25,8 +25,11 @@
 
   cp Makefile.arch Makefile
   sed -i -e 's/17.*/18.0/g' ../application.ini
-  sed -i -e 's/19.*/21.0/g' ../application.ini
+  sed -i -e 's/21.*/22.*/g' ../application.ini
 
+  # xpcom has been merged into xul in xulrunner 22.0
+  sed -i -e 's/-lxpcom/-lxul/' common.mk
+
   make -j1
 }
 
@@ -34,7 +37,7 @@
   cd ${srcdir}/chmsee-*
 
   install -d ${pkgdir}/usr/share/chmsee
-  cp -a * ${pkgdir}/usr/share/chmsee 
+  cp -a * ${pkgdir}/usr/share/chmsee
   rm -r ${pkgdir}/usr/share/chmsee/src
   install -Dm644 data/chmsee.desktop.in \
     ${pkgdir}/usr/share/applications/chmsee.desktop




More information about the arch-commits mailing list