[arch-commits] CVS update of extra/office/hunspell (PKGBUILD)
andyrtr at archlinux.org
andyrtr at archlinux.org
Wed Dec 5 19:49:27 UTC 2007
Date: Wednesday, December 5, 2007 @ 14:49:27
Author: andyrtr
Path: /home/cvs-extra/extra/office/hunspell
Modified: PKGBUILD (1.7 -> 1.8)
upgpkg: hunspell 1.2.1-2
fix broken hunspell.pc file to make it accept by OpenOffice
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Index: extra/office/hunspell/PKGBUILD
diff -u extra/office/hunspell/PKGBUILD:1.7 extra/office/hunspell/PKGBUILD:1.8
--- extra/office/hunspell/PKGBUILD:1.7 Mon Dec 3 15:28:23 2007
+++ extra/office/hunspell/PKGBUILD Wed Dec 5 14:49:27 2007
@@ -2,7 +2,7 @@
# Contributor: Hussam Al-Tayeb <ht990332 at gmail.com>
pkgname=hunspell
pkgver=1.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="Hunspell is a spell checker and morphological analyzer library"
arch=(i686 x86_64)
license=('GPL' 'LGPL' 'MPL')
@@ -18,4 +18,7 @@
./configure --prefix=/usr --disable-static
make || return 1
make DESTDIR=${startdir}/pkg install
+
+ # hack to make it usable for OpenOffice
+ sed -i "s/-1.2//" $startdir/pkg/usr/lib/pkgconfig/hunspell.pc
}
More information about the arch-commits
mailing list