-GZIP='-9v --rsyncable' tar --exclude=\*{~,.tar.gz,.exe} --exclude='#*#' \
- --transform='s/^./jpctb/' --exclude=jpctb/{src/build,tmp} \
- -zcf jpctb.tar.gz .
+tarball () {
+ output=$1; shift
+ GZIP='-9v --rsyncable' tar --exclude=\*{~,.tar.gz,.exe} --exclude='#*#' \
+ --transform='s/^./jarrg/' --exclude={src/build,tmp} "$@" \
+ -zcf "$output" .
+}
+
+tarball jarrg-source.tar.gz