--- a/Build.PL
+++ b/Build.PL
@@ -9,10 +9,23 @@
 use Config qw(%Config);
 use My::Builder;
 use ExtUtils::CBuilder qw();
+use Path::Class qw(dir);
 
 use lib 'lib';
 use Games::FrozenBubble;
 
+my $share_dir = dir('share') ;
+my %shared_files ;
+$share_dir->recurse(callback => sub {
+	my ($child, $cont) = @_;
+    return if $child->is_dir ;
+	print "found shared $child\n";
+	my $t = $child->stringify ;
+	#$t =~ s!share!share/games/frozen-bubble! ;
+	$shared_files{$child} = $t ;
+} ) ;
+
+
 my $prefix = Alien::SDL->config('prefix');
 my $cflags = '-I'
   . File::Spec->catfile( $prefix, 'include' )
@@ -41,7 +54,7 @@
 if( $CPAN_test_NA ){ warn $CPAN_test_NA; exit(0) }
 
 
-My::Builder->new(
+my $build = My::Builder->new(
     add_to_cleanup => [
         'lib/Games/FrozenBubble/CStuff.c',
         'lib/Games/FrozenBubble/CStuff.o',
@@ -67,7 +80,9 @@
     },
     module_name => 'Games::FrozenBubble',
     dist_version => $Games::FrozenBubble::VERSION,
-    share_dir => 'share',
+	# share_dir won't let me install in /usr/share/games :-(
+	# share_dir => 'share',
+	shared_files => \%shared_files ,
     no_index  => { directory => [ 'server' ] }, # tell PAUSE to not index 'server' subdirectory
     configure_requires => { #need to have for running: perl Buil.PL
         'perl'                      => '5.008',
@@ -142,4 +157,7 @@
         'IPC::System::Simple'       => 0,
 
     },
-)->create_build_script;
+);
+
+$build->add_build_element('shared') ;
+$build->create_build_script;
