[Lunar-commits] <moonbase> openoffice-src-pl: replaced 2.4.1 with version var for easy module updates.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Jul 6 03:48:32 CEST 2008


commit ea110c257985b55476cf45338c917bf241bc49c0
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Jul 6 03:48:32 2008 +0200

    openoffice-src-pl: replaced 2.4.1 with version var for easy module updates.
    Other language packs seems to have similar (if not the same file layout in archive).
    Adding more OO localization modules may be easy as replacing 'pl' with other country code.
---
 x11-apps/openoffice-src-pl/BUILD |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/x11-apps/openoffice-src-pl/BUILD b/x11-apps/openoffice-src-pl/BUILD
index aa1cade..24198ef 100644
--- a/x11-apps/openoffice-src-pl/BUILD
+++ b/x11-apps/openoffice-src-pl/BUILD
@@ -1,14 +1,14 @@
 (
 
   cd $SOURCE_DIRECTORY &&
-  rpmunpack openoffice.org-pl-2.4.1-9310.i586.rpm &&
-  rpmunpack openoffice.org-pl-help-2.4.1-9310.i586.rpm &&
-  rpmunpack openoffice.org-pl-res-2.4.1-9310.i586.rpm &&
+  rpmunpack openoffice.org-pl-${VERSION}-9310.i586.rpm &&
+  rpmunpack openoffice.org-pl-help-${VERSION}-9310.i586.rpm &&
+  rpmunpack openoffice.org-pl-res-${VERSION}-9310.i586.rpm &&
   rm -f *.rpm &&
   gunzip *.gz &&
-  cpio -idv < openoffice.org-pl-2.4.1-9310.cpio &&
-  cpio -idv < openoffice.org-pl-help-2.4.1-9310.cpio &&
-  cpio -idv < openoffice.org-pl-res-2.4.1-9310.cpio &&
+  cpio -idv < openoffice.org-pl-${VERSION}-9310.cpio &&
+  cpio -idv < openoffice.org-pl-help-${VERSION}-9310.cpio &&
+  cpio -idv < openoffice.org-pl-res-${VERSION}-9310.cpio &&
   cd $SOURCE_DIRECTORY/opt/openoffice.org2.4 &&
   prepare_install &&
   cp -a . /opt/lunar/openoffice-src


More information about the Lunar-commits mailing list