mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Add script for source tarball creation (without prebuild stuff).
This commit is contained in:
parent
f3868f5b6e
commit
d54583cb88
15
mktarball.sh
Executable file
15
mktarball.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#! /bin/bash
|
||||
|
||||
YACVERSION=7.2.0
|
||||
|
||||
if [ ! -f "yacreader-${YACVERSION}-src.tar.xz" ]
|
||||
then
|
||||
echo "Building source tarball"
|
||||
tar cfJ yacreader-${YACVERSION}-src.tar.xz --exclude='.*' --exclude 'dependencies' --exclude 'yacreader*tar*' *
|
||||
md5sum yacreader-${YACVERSION}-src.tar.xz > yacreader-${YACVERSION}-src.tar.xz.md5sum
|
||||
else
|
||||
echo "Updating source tarball"
|
||||
rm yacreader-${YACVERSION}-src.tar* #delete old tarball, since tar can't update compressed archives
|
||||
tar cfJ yacreader-${YACVERSION}-src.tar.xz --exclude='.*' --exclude 'dependencies' --exclude 'yacreader*tar*' *
|
||||
md5sum yacreader-${YACVERSION}-src.tar.xz > yacreader-${YACVERSION}-src.tar.xz.md5sum
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user