Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=340b35319324c7d5bb37d0dc766e58fe7cb6a00f

commit 340b35319324c7d5bb37d0dc766e58fe7cb6a00f
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sat Sep 18 21:51:17 2010 +0200

openoffice.org-3.2.1-6-x86_64

- add missing download_external_sources.sh

(it's just missing from the tarball, so we can just remove it in the
next bump)

diff --git a/source/xapps/openoffice.org/FrugalBuild 
b/source/xapps/openoffice.org/FrugalBuild
index f2faf33..d7a7506 100644
--- a/source/xapps/openoffice.org/FrugalBuild
+++ b/source/xapps/openoffice.org/FrugalBuild
@@ -81,7 +81,8 @@ else
http://download.go-oo.org/3.3/ooo-build-$pkgver-testing.tar.bz2
http://download.go-oo.org/3.3/ooo-build-$pkgver-ure.tar.bz2
http://download.go-oo.org/3.3/ooo-build-$pkgver-writer.tar.bz2
-                       http://download.go-oo.org/3.3/ooo-build-$pkgver.tar.gz)
+                       http://download.go-oo.org/3.3/ooo-build-$pkgver.tar.gz \
+                       download_external_sources.sh)
sha1sums=('a466bce7131a42ae7bf47c3b309507812951bb41' \
'50c2deda9f71d20c404036851fc1df784b936e51' \
'3b595ca30f3a190c5644501805b60d88f65a3a95' \
@@ -102,7 +103,8 @@ else
'690f1ac72347249ab3ca201b5505713011c038e5' \
'f9db36606cd40aa3bd32bc6b6d35e69a6725d21e' \
'b0a5fb527c102c5caf534cd1684f0fed131b6f93' \
-                                 'a052d9ed807b3ae6ec9606ac50ebeba688a2cd5e')
+                                 'a052d9ed807b3ae6ec9606ac50ebeba688a2cd5e' \
+                                 'dc94a99221d48275e9ab3e5800b4695b7f242655')
fi
fi
NOEXTRACT=1
@@ -232,6 +234,8 @@ build()
do
ln -sf $i src/
done
+                       cp $Fsrcdir/download_external_sources.sh .
+                       chmod +x download_external_sources.sh
fi
fi

diff --git a/source/xapps/openoffice.org/download_external_sources.sh 
b/source/xapps/openoffice.org/download_external_sources.sh
new file mode 100644
index 0000000..ec2654b
--- /dev/null
+++ b/source/xapps/openoffice.org/download_external_sources.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+. ./bin/setup
+
+export TARFILE_LOCATION
+GIT_TAG=`echo $OOO_SOURCEDIRNAME | tr "a-z.-" "A-Z__"`
+tmp=`mktemp -q -d`
+
+cd $tmp
+wget 
http://cgit.freedesktop.org/ooo-build/bootstrap/plain/fetch_tarballs.sh?id=$GIT_TAG
 -O fetch_tarballs.sh && chmod 755 fetch_tarballs.sh
+wget http://cgit.freedesktop.org/ooo-build/bootstrap/plain/ooo.lst?id=$GIT_TAG 
-O ooo.lst
+./fetch_tarballs.sh ooo.lst &&  rm -f fetch_tarballs.sh ooo.lst
+cd ..
+rmdir $tmp
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to