comparison debian/daily-build.sh @ 31833:c9f9a077d760

Add new debian packaging based on official distro packages
author siretart
date Tue, 03 Aug 2010 13:02:07 +0000
parents
children 4551864b8e69
comparison
equal deleted inserted replaced
31832:dc727e19c9b6 31833:c9f9a077d760
1 #!/bin/sh
2
3 # wrapper around dpkg-buildpackage to generate correct changelog
4 # use "debian/daily-build.sh -b" to create binary packages
5 # and "debian/daily-build.sh -S" to create a source package only
6
7 LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2
8 version=$(LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2)
9
10 # ensure correct directory
11 test -r debian/control || exit 1
12
13 rm debian/changelog
14 dch --create --empty --package mplayer -v 2:1.0~svn${version} "Daily build"
15
16 dpkg-buildpackage -us -uc "$@"