diff options
author | alkos333 <me@alkso333.net> | 2010-05-12 23:33:37 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 23:33:37 +0200 |
commit | 4db878070ac8636be9cad28bdeae6ecf168ff662 (patch) | |
tree | e43d809a944368434f339579ecd192c338e0ddba /system/hdapsd/hdapsd-mksrctarball.sh | |
parent | a4f48c6e2036f6636a786f85bbbd41f023230042 (diff) |
system/hdapsd: Added to 12.2 repository
Diffstat (limited to 'system/hdapsd/hdapsd-mksrctarball.sh')
-rw-r--r-- | system/hdapsd/hdapsd-mksrctarball.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/system/hdapsd/hdapsd-mksrctarball.sh b/system/hdapsd/hdapsd-mksrctarball.sh new file mode 100644 index 0000000000000..7431d82648cfe --- /dev/null +++ b/system/hdapsd/hdapsd-mksrctarball.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +# This script helps you to download and compress the +# sourcecode for ffmpeg from its svn server. +# Copyright (c) 2008 alkos333 <me@alkos333.net> + +# Based on ffmpeg-mksrctarball.sh (SlackBuilds.org, Slackware 12.0) + +# Thanks to Antonio Hernández Blas for a suggestion on SBo mailing list + +set -e + +PRGNAM=hdapsd +VERSION=$(date +"%Y%m%d") +GITSERVER=git://repo.or.cz/hdapsd.git + +echo "--> Downloading sourcecode from $GITSERVER" +git clone $GITSERVER $PRGNAM-$VERSION 2>&1 + +echo "--> Making the sourcecode tarball: $PRGNAM-$VERSION.tar.bz2 " +tar -c $PRGNAM-$VERSION/ | bzip2 -9 > $PRGNAM-$VERSION.tar.bz2 + +echo "--> Erasing the sourcecode directory: $PRGNAM-$VERSION/" +rm -rf $PRGNAM-$VERSION/ + +echo "--> Sourcecode tarball for $PRGNAM: $PRGNAM-$VERSION.tar.bz2" |