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