You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							34 lines
						
					
					
						
							1.2 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							34 lines
						
					
					
						
							1.2 KiB
						
					
					
				| name=astronaut | |
| version=$(date +%Y%m%d) | |
| 
 | |
| define_option '!helpers: Enable installation of helper scripts' | |
| define_option '!xbps: Enable installation of the xbps-astronaut wrapper' | |
| define_option '!pacman: Enable installation of the pacman-astronaut wrapper' | |
| define_option '!pkgtools: Enable installation of the astronautpkg wrapper' | |
| 
 | |
| extrafile 'astronaut' | |
| 
 | |
| if option helpers; then | |
|     extrafile 'astrohelp' | |
|     extrafile 'freshnaut' | |
| fi | |
| 
 | |
| option xbps extrafile 'xbps-astronaut' | |
| option pacman extrafile 'pacman-astronaut' | |
| option pkgtools extrafile 'astronautpkg' | |
| header_end | |
| 
 | |
| install -D 'astronaut' "$dir_install/$dir_prefix/bin/astronaut" | |
| 
 | |
| # Optional helper tools | |
| if option helpers; then | |
|     install -D 'astrohelp' "$dir_install/$dir_prefix/bin/astrohelp" | |
|     install -D 'freshnaut' "$dir_install/$dir_prefix/bin/freshnaut" | |
| fi | |
| 
 | |
| # Wrappers for specific package managers | |
| option xbps install -D 'xbps-astronaut' "$dir_install/$dir_prefix/bin/xbps-astronaut" | |
| option pacman install -D 'pacman-astronaut' "$dir_install/$dir_prefix/bin/pacman-astronaut" | |
| option pkgtools install -D 'astronautpkg' "$dir_install/$dir_prefix/bin/astronautpkg" | |
| 
 | |
| # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
 | |
| 
 |