|
楼主 |
发表于 2006-2-17 18:48:30
|
显示全部楼层
# Contributor: Alexander Bogdanov <andorn@gmail.com>
pkgname=kchmviewer
pkgver=2.0
pkgrel=1
pkgdesc="KchmViewer is a chm (MS HTML help file format) viewer, written in C++."
url="http://kchmviewer.sourceforge.net/"
license="GPL"
depends=(qt)
source=(http://dl.sourceforge.net/kchmviewer/$pkgname-$pkgver.tar.gz)
md5sums=('94203642266aaecffdcc6c6d516f7635')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc \
--x-libraries=/usr/X11R6/lib \
--without-arts
sed "s#^LDFLAGS = #LDFLAGS = -L/usr/X11R6/lib#p" -i src/Makefile
make || return 1
make DESTDIR=$startdir/pkg install
} |
|