File: updatePPA.sh

package info (click to toggle)
dustrac 2.0.1-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 27,904 kB
  • sloc: cpp: 38,809; ansic: 30,056; sh: 170; makefile: 54; xml: 45; python: 33
file content (14 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
VERSION=${DUSTRAC_RELEASE_VERSION?"is not set."}

# $VERSION-1 for xenial
# $VERSION-2 for artful

DEBIAN_VERSION=$VERSION-1
rm -rf *${VERSION}*
cp ../DustRacing2D/dustrac-$VERSION.tar.gz .
tar xzvf dustrac-$VERSION.tar.gz
mv dustrac-$VERSION dustrac-$DEBIAN_VERSION
cd dustrac-$DEBIAN_VERSION
cp -rv packaging/debian .
debuild -S -sa && cd .. && dput ppa:jussi-lind/dustrac "dustrac_${DEBIAN_VERSION}_source.changes"