add zip
This commit is contained in:
		
							parent
							
								
									3dbb1496e3
								
							
						
					
					
						commit
						517ce35a46
					
				
					 1 changed files with 29 additions and 0 deletions
				
			
		
							
								
								
									
										29
									
								
								extra/zip/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								extra/zip/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | ||||||
|  | pkgname=zip | ||||||
|  | pkgver=30 | ||||||
|  | 
 | ||||||
|  | fetch() { | ||||||
|  | 	curl "https://fossies.org/linux/misc/zip$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz | ||||||
|  | 	tar -xf $pkgname-$pkgver.tar.xz | ||||||
|  | 	mv zip$pkgver $pkgname-$pkgver | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | build() { | ||||||
|  | 	cd $pkgname-$pkgver | ||||||
|  | 
 | ||||||
|  | 	make -f unix/Makefile generic | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | package() { | ||||||
|  | 	cd $pkgname-$pkgver | ||||||
|  | 	make -f unix/Makefile install prefix=$pkgdir/usr | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | backup() { | ||||||
|  | 	return | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | license() { | ||||||
|  | 	cd $pkgname-$pkgver | ||||||
|  | 	cat LICENSE | ||||||
|  | #	cat COPYING | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue