File: update-ppa

package info (click to toggle)
dustrac 2.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 28,396 kB
  • sloc: cpp: 43,241; ansic: 30,075; sh: 189; xml: 69; python: 33; makefile: 12
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"