|
最新版的chmsee基于gecko
* Gtk+-2.8
* libglade-2.4
* gecko(ChmSee 1.0.0-alpha)
* chmlib
* openssl(GNU/Linux)
PKGBUILD- #Maintainer: artofegg <zhanglin22000@gmail.com>
- pkgname=chmsee-alpha
- pkgver=1.0.0
- pkgrel=1
- pkgdesc="Gtk2+ Chm Files Reader"
- url="http://chmsee.gro.clinux.org/"
- license="gpl"
- depends=('gtk2' 'xulrunner' 'libglade' 'chmlib' 'openssl')
- makedepends=('gcc')
- conflicts=('chmsee')
- replaces=()
- backup=()
- install=
- source=( "http://chmsee.gro.clinux.org/chmsee-$pkgver-alpha.tar.gz" \
- chmsee.desktop
- )
- md5sums=('a2517effe1833669bd3160cf64adc6e1' 'c35baa1536d7dff196e60ce1571777a9')
- build() {
- cd $startdir/src/chmsee-$pkgver-alpha
- mkdir -p $startdir/pkg/opt/kde/share/applnk/Utilities
- ./configure --prefix=/opt/chmsee #--with-chmlib=/path/to/chmlib
- make || return 1
- make DESTDIR=$startdir/pkg install-strip
- cp -f $startdir/chmsee.desktop $startdir/pkg/opt/kde/share/applnk/Utilities/
-
- }
复制代码
chmsee.desktop- [Desktop Entry]
- Comment=ChmSee-alpha GKT+2的CHM查看器
- Comment[zh_CN]=ChmSee-alpha GKT+2的CHM查看器
- Exec=chmsee
- GenericName=
- GenericName[zh_CN]=
- Icon=chm.png
- MimeType=application/x-chm;
- Name=Gtk-chmsee-alpha
- Name[zh_CN]=Gtk-chmsee-alpha
- StartupNotify=false
- Terminal=false
- TerminalOptions=
- Type=Application
- X-DCOP-ServiceType=
- X-KDE-StartupNotify=false
- X-KDE-SubstituteUID=false
- X-KDE-Username=
复制代码 |
|