# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=chmlib pkgver=0.40 pkgrel=7 pkgdesc="Library for dealing with Microsoft ITSS/CHM format files" arch='x86_64' url="http://www.jedrea.com/chmlib/" license='LGPL' depends='musl' source="http://www.jedrea.com/chmlib/chmlib-0.40.tar.bz2" subpackages="${pkgname}-static" options=!check build() { cd "${srcdir}"/${pkgname}-${pkgver} ./configure --prefix=/usr \ --enable-examples=yes make } package() { cd "${srcdir}"/${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install } sha512sums="3a3e151cf455b19e9e7c163a1d1e5ac52e8196f0b98f77932c72af58f3517824b9244667a18279ae754ccea784f6d6ab0c47465e74e3768ce98bb7dca0ca16e3 chmlib-0.40.tar.bz2"