PKGBUILDs/extra/chmlib/PKGBUILD

34 lines
963 B
Bash
Raw Normal View History

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
2022-12-27 14:40:57 +00:00
pkgrel=7
2011-01-22 00:48:54 +00:00
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
2017-12-29 22:13:37 +00:00
arch=('x86_64')
url="http://www.jedrea.com/chmlib/"
2011-01-22 00:48:54 +00:00
license=('LGPL')
depends=('glibc')
2017-12-29 22:13:37 +00:00
source=("http://www.jedrea.com/chmlib/chmlib-0.40.tar.bz2"
2011-06-15 04:35:40 +00:00
"arm.patch")
2022-12-27 14:40:57 +00:00
sha256sums=('3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3'
'fa04b34a7807f3a1321909abb86e5475778b3e0a24e109804a402470413b38a8')
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
}