| 
									
										
										
										
											2021-02-27 02:50:00 +03:00
										 |  |  | #!/usr/bin/env bash | 
					
						
							|  |  |  | # The builder user is already created in the rootfs | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | 
					
						
							|  |  |  | export LC_ALL=en_US.UTF-8 | 
					
						
							|  |  |  | export PKG_URL=$1 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Upgrade | 
					
						
							| 
									
										
										
										
											2021-03-01 09:37:02 +03:00
										 |  |  | sudo pacman -Suy --noconfirm | 
					
						
							| 
									
										
										
										
											2021-02-27 02:50:00 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Workdir | 
					
						
							|  |  |  | cd /buildroot | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Build the damn thing | 
					
						
							| 
									
										
										
										
											2021-03-01 09:37:02 +03:00
										 |  |  | git clone "$PKG_URL" . | 
					
						
							|  |  |  | makepkg -s --noconfirm -L |