diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-31 01:58:22 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-31 01:58:22 -0500 |
commit | e52632cf240dda02dd5c39a580368c73c4d68c1c (patch) | |
tree | e925e8c42b0cf3cdea06e6988dee7ab46a08ce38 /ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl | |
parent | 87402a68a2871ea46422eef2ee03dd9500ca0ca4 (diff) | |
download | tde-packaging-e52632cf240dda02dd5c39a580368c73c4d68c1c.tar.gz tde-packaging-e52632cf240dda02dd5c39a580368c73c4d68c1c.zip |
Use CMake version of kdegraphics build for Maverick
Diffstat (limited to 'ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl')
-rw-r--r-- | ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl b/ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl new file mode 100644 index 000000000..9ce11d8a3 --- /dev/null +++ b/ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl @@ -0,0 +1,19 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; +my ($version3, $version3_next); +my ($version2, $version2_next); + +($version3 = $version) =~ s/-[^-]+$//; +($version2 = $version3) =~ s/\.[^.]+$//; + +($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; +($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e; + +print "KDE-Version3=$version3\n"; +print "KDE-Version2=$version2\n"; +print "KDE-Next-Version3=$version3_next\n"; +print "KDE-Next-Version2=$version2_next\n"; |