[Pkg-privacy-commits] [irssi-plugin-otr] 54/267: Added a third tarball irc-otr for both plugins.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:26:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.

commit fdb0178791aba2cf0d106ac69b7736194ea08214
Author: Uli Meis <a.sporto+bee at gmail.com>
Date:   Thu Feb 5 11:11:27 2009 +0100

    Added a third tarball irc-otr for both plugins.
---
 mksrcpackage.sh | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/mksrcpackage.sh b/mksrcpackage.sh
index c01738c..af44b7d 100755
--- a/mksrcpackage.sh
+++ b/mksrcpackage.sh
@@ -3,6 +3,18 @@ if [ -z "$2" ]; then echo "Syntax: $0 <src-dir> <git-commit/tag>"; exit 1;fi
 SDIR="$1"
 #VER=`(cd "$SDIR/.git/refs/tags/" && ls -t)|head -n1|sed -e 's/.//'`
 VER=$2
+
+PKG=irc-otr-$VER.tar
+HDIR=irc-otr-$VER
+mkdir "$HDIR" &&\
+(cd "$SDIR" && git archive --format=tar --prefix=irc-otr-$VER/ HEAD )>$PKG &&\
+(cd "$HDIR" && ln -s ../irssi-headers &&\
+	echo -e "SET(IRSSIOTR_VERSION $VER)" >tarballdefs.cmake) &&\
+tar rhf $PKG "$HDIR" &&\
+rm $HDIR/{irssi-headers,tarballdefs.cmake} &&\
+rmdir $HDIR &&\
+gzip $PKG
+
 PKG=irssi-otr-$VER.tar
 HDIR=irssi-otr-$VER
 mkdir "$HDIR" &&\
@@ -14,7 +26,6 @@ rm $HDIR/{irssi-headers,tarballdefs.cmake} &&\
 rmdir $HDIR &&\
 gzip $PKG
 
-
 PKG=xchat-otr-$VER.tar
 HDIR=xchat-otr-$VER
 mkdir "$HDIR" &&\

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/irssi-plugin-otr.git



More information about the Pkg-privacy-commits mailing list