1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-10 16:19:54 +00:00
ympd/mkdebian.sh
2018-11-15 22:08:17 +00:00

21 lines
425 B
Bash
Executable File

#!/bin/bash
VERSION=$(grep VERSION_ CMakeLists.txt | cut -d\" -f2 | tr '\n' '.' | sed 's/\.$//')
export LC_TIME="en_GB.UTF-8"
cat > debian/changelog << EOL
mympd (${VERSION}-1) stable; urgency=medium
* Release from master
-- Juergen Mang <mail@jcgames.de> $(date +"%a, %d %b %Y %H:%m:%S %z")
EOL
if [ "$1" != "u" ]
then
./mkclean.sh
tar -czvf ../mympd_${VERSION}.orig.tar.gz *
dpkg-buildpackage -rfakeroot
fi