go10
This commit is contained in:
		
							parent
							
								
									84b761cb34
								
							
						
					
					
						commit
						1465ad98d5
					
				
					 1 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -32,13 +32,13 @@ export GOCACHE=off
 | 
			
		|||
  done
 | 
			
		||||
  
 | 
			
		||||
  cd $SRC/go
 | 
			
		||||
  install -d "$PKG/usr/bin" "$PKG/usr/lib/go" 
 | 
			
		||||
  cp -a bin pkg src lib misc api "$PKG/usr/lib/go"
 | 
			
		||||
  install -d "$PKG/usr/bin" "$PKG/usr/lib/go-$surum" 
 | 
			
		||||
  cp -a bin pkg src lib misc api "$PKG/usr/lib/go-$surum"
 | 
			
		||||
  #cp -r doc/* "$PKG/usr/share/doc/go"
 | 
			
		||||
  ln -sf /usr/lib/go/bin/go "$PKG/usr/bin/go"
 | 
			
		||||
  ln -sf /usr/lib/go/bin/gofmt "$PKG/usr/bin/gofmt"
 | 
			
		||||
  ln -sf /usr/lib/go-$surum/bin/go "$PKG/usr/bin/go-$surum"
 | 
			
		||||
  ln -sf /usr/lib/go-$surum/bin/gofmt "$PKG/usr/bin/gofmt-$surum"
 | 
			
		||||
  install -Dm644 LICENSE "$PKG/usr/share/licenses/go/LICENSE"
 | 
			
		||||
  install -Dm644 VERSION "$PKG/usr/lib/go/VERSION"
 | 
			
		||||
  rm -rf "$PKG/usr/lib/go/pkg/bootstrap"
 | 
			
		||||
  rm -rf "$PKG/usr/lib/go/pkg/tool/*/api"
 | 
			
		||||
  install -Dm644 VERSION "$PKG/usr/lib/go-$surum/VERSION"
 | 
			
		||||
  rm -rf "$PKG/usr/lib/go-$surum/pkg/bootstrap"
 | 
			
		||||
  rm -rf "$PKG/usr/lib/go-$surum/pkg/tool/*/api"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue