[Frugalware-darcs] frugalware-current: openoffice.org-i18n-de-2.0.0.1-1-i686

VMiklos vmiklos at frugalware.org
Fri Oct 28 00:54:58 CEST 2005


Fri Oct 28 00:17:19 CEST 2005  VMiklos <vmiklos at frugalware.org>
  * openoffice.org-i18n-de-2.0.0.1-1-i686
  version bump
diff -rN -u old-frugalware-current/extra/source/locale/openoffice.org-i18n-de/FrugalBuild new-frugalware-current-1/extra/source/locale/openoffice.org-i18n-de/FrugalBuild
--- old-frugalware-current/extra/source/locale/openoffice.org-i18n-de/FrugalBuild	2005-10-28 00:54:07.000000000 +0200
+++ new-frugalware-current-1/extra/source/locale/openoffice.org-i18n-de/FrugalBuild	2005-10-28 00:18:32.000000000 +0200
@@ -1,28 +1,27 @@
-# Last Modified: Thu, 04 Aug 2005 17:54:04 +0200
+# Last Modified: Fri, 28 Oct 2005 00:16:03 +0200
 # Compiling Time: ~1 minute
 # Maintainer: VMiklos <vmiklos at frugalware.org>
 
 lang=de
 pkgname=openoffice.org-i18n-$lang
-pkgver=1.3.15
+dictname=de_DE
+pkgver=2.0.0.1
 pkgrel=1
 pkgdesc="German Localization for OpenOffice.org."
 url="http://ooo.ximian.com/"
-depends=('openoffice.org')
+rodepends=('openoffice.org')
 groups=('locale-extra')
 archs=('i686')
 install=$pkgname.install
-[ -e ../up2date.openoffice.org-i18n ] && . ../up2date.openoffice.org-i18n
-sha1sums=('f6366210025c54f6938489183b10391a8349d788' \
-          'f23187e9ba9d7141dfec72b0929352b1159368d5')
+Finclude openoffice-i18n
+sha1sums=('cd56871399828a22c471f0b535ca7a44c52f3f1b' \
+	  'fbf8d71e99bdf4d015d6399a193fb9ec8e9fa095')
 
 build()
 {
-	Fcd ""
-	Fmkdir $resdir
-	cp -a $pkgname-$pkgver/* $Fdestdir$resdir
+	Fresinstall
 	Fmkdir $dictdir
-	cp -a openoffice.org-i18n-dict-$lang-$pkgver/* $Fdestdir$dictdir
+	cp -a $dictname.{aff,dic} $Fdestdir$dictdir
 }
 
 # vim: ft=sh
diff -rN -u old-frugalware-current/extra/source/locale/openoffice.org-i18n-de/openoffice.org-i18n-de.install new-frugalware-current-1/extra/source/locale/openoffice.org-i18n-de/openoffice.org-i18n-de.install
--- old-frugalware-current/extra/source/locale/openoffice.org-i18n-de/openoffice.org-i18n-de.install	2005-10-28 00:54:07.000000000 +0200
+++ new-frugalware-current-1/extra/source/locale/openoffice.org-i18n-de/openoffice.org-i18n-de.install	2005-10-28 00:18:32.000000000 +0200
@@ -1,19 +1,20 @@
-dictlst=/usr/lib/ooo-1.1/share/dict/ooo/dictionary.lst
+dictlst=/usr/lib/ooo-2.0/share/dict/ooo/dictionary.lst
 
 post_install()
 {
-	echo "DICT de AT de_AT" >>$dictlst
-	echo "DICT de CH de_CH" >>$dictlst
 	echo "DICT de DE de_DE" >>$dictlst
-	echo "HYPH de CH hyph_de_CH" >>$dictlst
-	echo "HYPH de DE hyph_de_DE" >>$dictlst
-	echo "THES de DE th_de_DE" >>$dictlst
+}
+
+post_upgrade()
+{
+	pre_remove
+	post_install
 }
 
 pre_remove()
 {
 	tempfile=`mktemp`
-	cat $dictlst |grep -v "\(DICT de AT de_AT\|DICT de CH de_CH\|DICT de DE de_DE\|HYPH de CH hyph_de_CH\|HYPH de DE hyph_de_DE\|THES de DE th_de_DE\)" >$tempfile
+	cat $dictlst |grep -v "DICT de DE de_DE" >$tempfile
 	cat $tempfile >$dictlst
 	rm -f $tempfile
 }



More information about the Frugalware-darcs mailing list