# $Id$ # Maintainer : Laurent Carlier # Contributor: dionydonny # Contributor: Ermanno pkgname=chmsee pkgver=1.99.05 pkgrel=1 arch=('i686' 'x86_64' 'mips64el') pkgdesc="A chm (MS HTML help file format) viewer based on xulrunner." url="http://chmsee.googlecode.com/" license="GPL" depends=('xulrunner>=6.0' 'chmlib' 'desktop-file-utils') makedepends=('python2') source=(chmsee-$pkgver.tar.gz::https://github.com/jungleji/chmsee/tarball/v$pkgver chmsee) install=chmsee.install md5sums=('accef6baba2842ad13c59db3627c05f1' '4999362b0c89c24764cbd25173610a38') build() { cd ${srcdir}/jungleji-chmsee-370f906/src cp Makefile.arch Makefile sed -i -e 's/5.0/6.0/g' Makefile make } package() { cd ${srcdir}/jungleji-chmsee-370f906 install -d ${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 # Fix FS#25152 sed -i -e 's/_//g' ${pkgdir}/usr/share/applications/chmsee.desktop # install -d ${pkgdir}/usr/share/pixmaps install -Dm644 data/chmsee-icon.png ${pkgdir}/usr/share/pixmaps install -Dm755 ${srcdir}/chmsee ${pkgdir}/usr/bin/chmsee # install -d ${pkgdir}/usr/share/icons # cp -a data/icons/* ${pkgdir}/usr/share/icons/ }