c34a731
#!/bin/bash
c34a731
c34a731
MODULE=phonon-gstreamer
91de019
TARBALL=phonon-backend-gstreamer
Rex Dieter 4e005db
BRANCH=remotes/origin/4.6
Rex Dieter 4e005db
VERSION=4.6.2
c34a731
DATE=$(date +%Y%m%d)
c34a731
c34a731
set -x
c34a731
c34a731
rm -rf $MODULE
c34a731
c34a731
git clone git://anongit.kde.org/phonon-gstreamer $MODULE/
c34a731
pushd $MODULE
Rex Dieter 4e005db
git archive ${BRANCH} --format tar --prefix=${TARBALL}-${VERSION}/ | xz -9 > ../${TARBALL}-${VERSION}-${DATE}.tar.xz
c34a731
popd
c34a731
Rex Dieter 928acc6
rm -rf $MODULE