LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 963|回复: 0

CHMsee-1.0.0-alpha PKGBUILD

[复制链接]
发表于 2006-9-21 11:08:15 | 显示全部楼层 |阅读模式
最新版的chmsee基于gecko
    * Gtk+-2.8
    * libglade-2.4
    * gecko(ChmSee 1.0.0-alpha)
    * chmlib
    * openssl(GNU/Linux)

PKGBUILD
  1. #Maintainer: artofegg <zhanglin22000@gmail.com>
  2. pkgname=chmsee-alpha
  3. pkgver=1.0.0
  4. pkgrel=1
  5. pkgdesc="Gtk2+ Chm Files Reader"
  6. url="http://chmsee.gro.clinux.org/"
  7. license="gpl"
  8. depends=('gtk2' 'xulrunner' 'libglade' 'chmlib' 'openssl')
  9. makedepends=('gcc')
  10. conflicts=('chmsee')
  11. replaces=()
  12. backup=()
  13. install=
  14. source=( "http://chmsee.gro.clinux.org/chmsee-$pkgver-alpha.tar.gz" \
  15.         chmsee.desktop
  16. )
  17. md5sums=('a2517effe1833669bd3160cf64adc6e1' 'c35baa1536d7dff196e60ce1571777a9')
  18. build() {
  19.         cd $startdir/src/chmsee-$pkgver-alpha
  20.         mkdir -p $startdir/pkg/opt/kde/share/applnk/Utilities
  21.         ./configure --prefix=/opt/chmsee #--with-chmlib=/path/to/chmlib
  22.         make || return 1
  23.         make DESTDIR=$startdir/pkg install-strip
  24.         cp -f $startdir/chmsee.desktop $startdir/pkg/opt/kde/share/applnk/Utilities/
  25.         
  26. }
复制代码

chmsee.desktop
  1. [Desktop Entry]
  2. Comment=ChmSee-alpha GKT+2的CHM查看器
  3. Comment[zh_CN]=ChmSee-alpha GKT+2的CHM查看器
  4. Exec=chmsee
  5. GenericName=
  6. GenericName[zh_CN]=
  7. Icon=chm.png
  8. MimeType=application/x-chm;
  9. Name=Gtk-chmsee-alpha
  10. Name[zh_CN]=Gtk-chmsee-alpha
  11. StartupNotify=false
  12. Terminal=false
  13. TerminalOptions=
  14. Type=Application
  15. X-DCOP-ServiceType=
  16. X-KDE-StartupNotify=false
  17. X-KDE-SubstituteUID=false
  18. X-KDE-Username=
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表