summaryrefslogtreecommitdiff
path: root/extra/chmlib/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-05 02:31:06 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-05 02:31:06 -0300
commit79c90303b271fc9e9b6cadb00dbee76eff04567c (patch)
tree44a9cdaabaf7f5b297f1b50e5991682880c09f3b /extra/chmlib/PKGBUILD
parent224c60d01361115dde84dd2e0f9b6f70feb9122a (diff)
Today's patches and updates
Diffstat (limited to 'extra/chmlib/PKGBUILD')
-rw-r--r--extra/chmlib/PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/extra/chmlib/PKGBUILD b/extra/chmlib/PKGBUILD
index ef09b6e89..04c8de5a6 100644
--- a/extra/chmlib/PKGBUILD
+++ b/extra/chmlib/PKGBUILD
@@ -12,11 +12,18 @@ url="http://morte.jedrea.com/~jedwin/projects/chmlib/"
options=('!libtool')
license=('LGPL')
depends=('glibc')
-source=("http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('7ea49ed8c335215c1edc6fae83e6b912')
+source=("http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'src_chm_lib.c.diff')
+md5sums=('7ea49ed8c335215c1edc6fae83e6b912'
+ '08fe9d62302a50f23cffb6c2a7524b6d')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
+
+# Patch from debian
+ [ "$CARCH" = "mips64el" ] && \
+ patch -Np1 -i $srcdir/src_chm_lib.c.diff
+
./configure --prefix=/usr \
--enable-examples=yes
make