[Mud-builder-commits] r359 - trunk/packages

gcobb at garage.maemo.org gcobb at garage.maemo.org
Thu Jun 24 02:15:49 EEST 2010


Author: gcobb
Date: 2010-06-24 02:15:49 +0300 (Thu, 24 Jun 2010)
New Revision: 359

Added:
   trunk/packages/notmynokia.xml
Log:
Package file for Not MyNokia

Added: trunk/packages/notmynokia.xml
===================================================================
--- trunk/packages/notmynokia.xml	                        (rev 0)
+++ trunk/packages/notmynokia.xml	2010-06-23 23:15:49 UTC (rev 359)
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<package>
+  <fetch type="command">
+    <command>
+    pkg="notmynokia"
+    date="20100624"
+    release="1.0-0"
+    # The release should be of the form major.minor-debianversion or major.minor+debianversion.
+    # The latter form means that the "svn$date" form of package version should be used
+    debver=${release#*-}
+    if [ "$debver" = "$release" ] ; then debver=${release#*+} ; fi
+    if [ "$debver" = "" ] ; then debver="1" ; fi
+    majmin=${release%-*} ; version="$majmin+maemo-$debver"
+    if [ "$majmin" = "$release" ] ; then majmin=${release%+*} ; version="${majmin}+maemo+svn$date-$debver" ; fi
+    pkgdir="$pkg-$version"
+    branch="svn://zaphod.cobb.me.uk/projects/NotMyNokia/trunk"
+    svn export -r {${date}T0000Z} $branch $pkgdir
+    mv -f $pkgdir/debian/changelog $pkgdir/debian/changelog.tmp
+    echo "$pkg ($version) unstable; urgency=low" &gt;$pkgdir/debian/changelog
+    echo &gt;&gt;$pkgdir/debian/changelog
+    echo "  * MUD build using revision {$date}" &gt;&gt;$pkgdir/debian/changelog
+    echo &gt;&gt;$pkgdir/debian/changelog
+    echo " -- Graham Cobb &lt;g+770 at cobb.uk.net&gt;  $(date --rfc-2822)" &gt;&gt;$pkgdir/debian/changelog
+    cat $pkgdir/debian/changelog.tmp &gt;&gt;$pkgdir/debian/changelog
+    rm -f $pkgdir/debian/changelog.tmp
+    </command>
+  </fetch>
+  <build>
+  </build>
+  <deb prefix-section="0">
+    <display-name>Not MyNokia</display-name>
+    <maintainer>Graham Cobb &lt;g+770 at cobb.uk.net&gt;</maintainer>
+  </deb>
+</package>



More information about the Mud-builder-commits mailing list