3 source /devel
/common
/functions.sh
6 [[ -z "${*/*--testing*/}" && -n "$*" ]] && TESTING
=yes
8 ver
=$
(grep AC_INIT ..
/core
/configure.ac |
sed -e 's/[^,]*, \[//' -e 's/\])//')
14 git archive
--format=tar --prefix=splashutils
/ HEAD |
(cd ..
/tmp
&& tar xf
-)
16 ebegin
"Creating a tarball"
21 mv splashutils
*.
tar.bz2
${cdir}
24 ebegin
"Adding Debian data"
26 tar jxf splashutils-
${ver}.
tar.bz2
27 cp -r ..
/debian splashutils-
${ver}
28 tar cf
- "splashutils-${ver}" |
bzip2 -9 -f > splashutils-
${ver}.
tar.bz2
29 rm -rf splashutils-
${ver}
32 ebegin
"Creating a lite tarball"
33 cp splashutils-
${ver}.
tar.bz2 splashutils-lite-
${ver}.
tar.bz2
34 rm -f splashutils-lite-
${ver}.
tar
35 bunzip2 splashutils-lite-
${ver}.
tar.bz2
36 tar --delete --wildcards -f splashutils-lite-
${ver}.
tar 'splashutils*/libs/libpng*' 'splashutils*/libs/zlib*' 'splashutils*/libs/jpeg*' 'splashutils*/libs/freetype*'
37 bzip2 splashutils-lite-
${ver}.
tar
40 #ebegin "Creating a lite tarball"
41 #git archive --prefix=splashutils-${ver}/ HEAD:core/ | tar --delete splashutils-${ver}/libs | bzip2 -f > "${cdir}/splashutils-lite-${ver}.tar.bz2"
44 #ebegin "Creating a tarball"
45 #git archive --prefix=splashutils-${ver}/ HEAD:core/ | bzip2 -f > "${cdir}/splashutils-${ver}.tar.bz2"
50 if [[ ${TESTING} == "no" ]]; then
51 ebegin Copying the tarballs to dev.gentoo.org
52 scp splashutils-
${ver}.
tar.bz2 spock@dev.gentoo.org
:/home
/spock
53 scp splashutils-lite-
${ver}.
tar.bz2 spock@dev.gentoo.org
:/home
/spock
56 ebegin Copying the tarballs to the SDS
57 cp splashutils-
${ver}.
tar.bz2
${SDS_ROOT}/htdocs
/projects
/fbsplash
/archive
58 cp splashutils-lite-
${ver}.
tar.bz2
${SDS_ROOT}/htdocs
/projects
/fbsplash
/archive