2011-06-15 04:35:40 +00:00
|
|
|
# $Id: PKGBUILD 127389 2011-06-14 06:55:42Z andrea $
|
2011-01-22 00:48:54 +00:00
|
|
|
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
|
|
|
# Contributor: Alexander 'dma147' Mieland <dma147@linux-stats.org>
|
|
|
|
# Contributor: Simon Morgan <simon@16hz.net>
|
|
|
|
|
2014-01-03 13:57:40 +00:00
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2011-01-22 00:48:54 +00:00
|
|
|
# - Added arm.patch, which aligns arm size types with i386/32-bit
|
|
|
|
|
|
|
|
pkgname=chmlib
|
|
|
|
pkgver=0.40
|
2014-01-03 13:57:40 +00:00
|
|
|
pkgrel=4
|
2011-01-22 00:48:54 +00:00
|
|
|
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://morte.jedrea.com/~jedwin/projects/chmlib/"
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('glibc')
|
2011-06-15 04:35:40 +00:00
|
|
|
source=("http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
|
|
|
|
"arm.patch")
|
2011-01-22 00:48:54 +00:00
|
|
|
md5sums=('7ea49ed8c335215c1edc6fae83e6b912'
|
2015-07-18 20:21:30 +00:00
|
|
|
'c955ee2709b5d4d1dc29751d941d5c81')
|
2011-01-22 00:48:54 +00:00
|
|
|
build() {
|
2011-06-15 04:35:40 +00:00
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
2011-11-29 19:20:08 +00:00
|
|
|
|
2011-01-22 00:48:54 +00:00
|
|
|
patch -p1 -i ${srcdir}/arm.patch
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-examples=yes
|
2011-06-15 04:35:40 +00:00
|
|
|
make
|
2011-01-22 00:48:54 +00:00
|
|
|
}
|
|
|
|
|
2011-06-15 04:35:40 +00:00
|
|
|
package() {
|
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|