class GtkSharpPackage (Package):
	def __init__ (self):
		Package.__init__ (self, 'gtk-sharp', '2-12-branch')
		self.commit = 'acbb04600d2dbdbe889117c07ee660818abd7070'
		self.source_dir_name = 'mono-gtk-sharp-%s' % self.commit[:7]
		self.configure = './bootstrap-2.12 --prefix="%{prefix}"'
		self.sources = [
			'http://github.com/mono/gtk-sharp/tarball/%{commit}',
		]

	def prep (self):
		Package.prep (self)
		for p in range (1, len (self.sources)):
			self.sh ('patch -p1 < "%{sources[' + str (p) + ']}"')

GtkSharpPackage ()

@@ -1,126 +1,102 @@
-class GtkSharpPackage (Package):%0A%09def __init__ (self):%0A%09%09Package.__init__ (self, 'gtk-sharp', '2-12-branch')%0A%09%09self.commit
+Package ('gtk-sharp', '2-12-branch',%0A%09sources = %5B 'git@github.com:mono/gtk-sharp.git' %5D,%0A%09revision
  = '
@@ -140,79 +140,36 @@
 070'
+,
 %0A%09
-%09self.source_dir_name = 'mono-gtk-sharp-%25s' %25 self.commit%5B:7%5D%0A%09%09self.
+override_properties = %7B '
 conf
@@ -173,19 +173,21 @@
 onfigure
- = 
+':%0A%09%09
 './boots
@@ -223,243 +223,7 @@
 %22'%0A%09
-%09self.sources = %5B%0A%09%09%09'http://github.com/mono/gtk-sharp/tarball/%25%7Bcommit%7D',%0A%09%09%5D%0A%0A%09def prep (self):%0A%09%09Package.prep (self)%0A%09%09for p in range (1, len (self.sources)):%0A%09%09%09self.sh ('patch -p1 %3C %22%25%7Bsources%5B' + str (p) + '%5D%7D%22')%0A%0AGtkSharpPackage (
+%7D
 )%0A

Fix build not to rely on github tarballs