1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-16 10:44:48 +00:00
ympd/mkdebian.sh

21 lines
425 B
Bash
Raw Normal View History

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