mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
33 lines
945 B
Bash
33 lines
945 B
Bash
# $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>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - Added arm.patch, which aligns arm size types with i386/32-bit
|
|
|
|
pkgname=chmlib
|
|
pkgver=0.40
|
|
pkgrel=5
|
|
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
|
|
arch=('x86_64')
|
|
url="http://www.jedrea.com/chmlib/"
|
|
license=('LGPL')
|
|
depends=('glibc')
|
|
source=("http://www.jedrea.com/chmlib/chmlib-0.40.tar.bz2"
|
|
"arm.patch")
|
|
md5sums=('7ea49ed8c335215c1edc6fae83e6b912'
|
|
'c955ee2709b5d4d1dc29751d941d5c81')
|
|
build() {
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
|
|
patch -p1 -i ${srcdir}/arm.patch
|
|
./configure --prefix=/usr \
|
|
--enable-examples=yes
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|