wok-next rev 8606

Fixed assaultcube again.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 14 04:26:30 2011 +0000 (2011-02-14)
parents b1a4866b6020
children b6d3180e0498
files assaultcube/receipt
line diff
     1.1 --- a/assaultcube/receipt	Mon Feb 14 04:25:13 2011 +0000
     1.2 +++ b/assaultcube/receipt	Mon Feb 14 04:26:30 2011 +0000
     1.3 @@ -18,8 +18,9 @@
     1.4  {	
     1.5  	cd $src/source/src
     1.6  	make
     1.7 -	cp -a ac_client $fs/usr/bin
     1.8 -	cp -a ac_server $fs/usr/bin
     1.9 +	[ ! -d $DESTDIR/usr/bin ] && mkdir -p $DESTDIR/usr/bin
    1.10 +	cp -a ac_client $DESTDIR/usr/bin
    1.11 +	cp -a ac_server $DESTDIR/usr/bin
    1.12  	
    1.13  }
    1.14  
    1.15 @@ -28,6 +29,8 @@
    1.16  {
    1.17  	stuff=$WOK/$PACKAGE/stuff
    1.18  	mkdir -p $fs/usr/bin $fs/usr/share/pixmaps $fs/usr/share/applications
    1.19 +	cp -a $_pkg/usr/bin/ac_client $fs/usr/bin
    1.20 +	cp -a $_pkg/usr/bin/ac_server $fs/usr/bin
    1.21  	cp -a $stuff/assaultcube $fs/usr/bin
    1.22  	cp -a $stuff/assaultcube-server $fs/usr/bin
    1.23  	cp -a $stuff/assaultcube.png $fs/usr/share/pixmaps