[arch-commits] Commit in libmythes/trunk (PKGBUILD)
andyrtr at archlinux.org
andyrtr at archlinux.org
Tue Sep 8 16:43:38 UTC 2009
Date: Tuesday, September 8, 2009 @ 12:43:37
Author: andyrtr
Revision: 51463
current release won't allow to compile OOO, let's try some changes
Modified:
libmythes/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-09-08 16:39:54 UTC (rev 51462)
+++ PKGBUILD 2009-09-08 16:43:37 UTC (rev 51463)
@@ -2,31 +2,36 @@
# Maintainer: AndyRTR <andyrtr at archlinux.org>
pkgname=libmythes
-pkgver=3.1.1
-_OO_milestone=OOO310_m19
+pkgver=1.1
+_origname=MyThes
pkgrel=1
pkgdesc="a simple thesaurus, contains static library and header file needed to develop applications using mythes + perl script to create index files"
arch=('i686' 'x86_64')
url="http://lingucomponent.openoffice.org/thesaurus.html"
license=('custom')
depends=('glibc' 'perl')
-source=(ftp://ftp.archlinux.org/other/openoffice/openoffice-base-${_OO_milestone}.tar.bz2)
+options=('force' '!makeflags')
+source=(https://sourceforge.net/projects/hunspell/files/${_origname}/$pkgver/${_origname}-${pkgver}.tar.gz)
+#ftp://ftp.archlinux.org/other/openoffice/openoffice-base-${_OO_milestone}.tar.bz2)
# old source from http://lingucomponent.openoffice.org is terribly outdated and won't build
-md5sums=('23370db83cc40bfbf22cedc460fd6b85')
+#md5sums=('23370db83cc40bfbf22cedc460fd6b85')
+md5sums=('cdf39b80e1bb6551f05556026cfa1222')
-
# package has all files but a libmythes_pic.a from the debian pkg
build() {
- cd ${srcdir}/${_OO_milestone}/lingucomponent/source/thesaurus/mythes
+# cd ${srcdir}/${_OO_milestone}/lingucomponent/source/thesaurus/mythes
# add a needed header
- cp ${srcdir}/${_OO_milestone}/lingucomponent/inc/pch/precompiled_lingucomponent.hxx .
+# cp ${srcdir}/${_OO_milestone}/lingucomponent/inc/pch/precompiled_lingucomponent.hxx .
+ cd ${srcdir}/${_origname}-$pkgver
# build
- make libmythes.a || return 1
+# make libmythes.a || return 1
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
# install
- install -Dm644 libmythes.a $pkgdir/usr/lib/libmythes.a
- install -Dm644 mythes.hxx $pkgdir/usr/include/mythes.hxx
- install -Dm755 ${srcdir}/${_OO_milestone}/dictionaries/util/th_gen_idx.pl $pkgdir/usr/share/mythes/th_gen_idx.pl
+# install -Dm644 libmythes.a $pkgdir/usr/lib/libmythes.a
+# install -Dm644 mythes.hxx $pkgdir/usr/include/mythes.hxx
+# install -Dm755 ${srcdir}/${_OO_milestone}/dictionaries/util/th_gen_idx.pl $pkgdir/usr/share/mythes/th_gen_idx.pl
# license
- install -Dm644 ${srcdir}/${_OO_milestone}/lingucomponent/source/thesaurus/mythes/license.readme $pkgdir/usr/share/licenses/$pkgname/LICENSE
+# install -Dm644 ${srcdir}/${_OO_milestone}/lingucomponent/source/thesaurus/mythes/license.readme $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list