PKGBUILDs/extra/chmlib/PKGBUILD

33 lines
892 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
2020-05-07 12:47:49 +00:00
pkgrel=6
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")
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
}