extra/chmlib to 0.40-2

This commit is contained in:
Kevin Mihelich 2011-06-15 00:35:40 -04:00
parent 0924cebbdd
commit 1f1c5f2892

View file

@ -1,33 +1,35 @@
# $Id: PKGBUILD 42202 2009-06-11 18:57:27Z giovanni $
# $Id: PKGBUILD 127389 2011-06-14 06:55:42Z andrea $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alexander 'dma147' Mieland <dma147@linux-stats.org>
# Contributor: Simon Morgan <simon@16hz.net>
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
# ALARM: Kevin Mihelich <kevin@plugapps.com>
# - Added arm.patch, which aligns arm size types with i386/32-bit
plugrel=1
pkgname=chmlib
pkgver=0.40
pkgrel=1
pkgrel=2
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')
options=('!libtool')
license=('LGPL')
depends=('glibc')
source=(http://morte.jedrea.com/~jedwin/projects/chmlib/${pkgname}-${pkgver}.tar.bz2
arm.patch)
source=("http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
"arm.patch")
md5sums=('7ea49ed8c335215c1edc6fae83e6b912'
'aae01483e3fc2d37ee1984cb936e58f3')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd "${srcdir}"/${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/arm.patch
./configure --prefix=/usr \
--enable-examples=yes
make || return 1
make DESTDIR=${pkgdir} install
make
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}