# $Id: PKGBUILD 42202 2009-06-11 18:57:27Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Alexander 'dma147' Mieland # Contributor: Simon Morgan pkgname=chmlib pkgver=0.40 pkgrel=1 pkgdesc="Library for dealing with Microsoft ITSS/CHM format files" arch=('i686' 'x86_64') url="http://morte.jedrea.com/~jedwin/projects/chmlib/" options=('!libtool' '!emptydirs') license=('LGPL') depends=('glibc') source=(http://morte.jedrea.com/~jedwin/projects/chmlib/${pkgname}-${pkgver}.tar.bz2) md5sums=('7ea49ed8c335215c1edc6fae83e6b912') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr \ --enable-examples=yes make || return 1 make DESTDIR=${pkgdir} install }