add test-81-multiple-packages
This commit is contained in:
		
							
								
								
									
										29
									
								
								test-81-multiple-packages/alr.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								test-81-multiple-packages/alr.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | |||||||
|  | basepkg_name='test-81-multiple-packages' | ||||||
|  | name=( | ||||||
|  |   first-package-with-dashes | ||||||
|  |   second-package-with-dashes | ||||||
|  | ) | ||||||
|  | version='1.0.0' | ||||||
|  | release='1' | ||||||
|  | desc='-' | ||||||
|  | homepage='-' | ||||||
|  | maintainer='Ivan Ivanov <example@example.ru>' | ||||||
|  | architectures=('all') | ||||||
|  |  | ||||||
|  | meta_first-package-with-dashes() { | ||||||
|  | 	desc="description first-package-with-dashes" | ||||||
|  | } | ||||||
|  |  | ||||||
|  | meta_second-package-with-dashes() { | ||||||
|  | 	desc="description second-package-with-dashes" | ||||||
|  | } | ||||||
|  |  | ||||||
|  | package_first-package-with-dashes() { | ||||||
|  |     mkdir -p $pkgdir/opt | ||||||
|  |     echo "first-package" > $pkgdir/opt/first-package | ||||||
|  | } | ||||||
|  |  | ||||||
|  | package_second-package-with-dashes() { | ||||||
|  |     mkdir -p $pkgdir/opt | ||||||
|  |     echo "second-package" > $pkgdir/opt/second-package | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user