added lynx
This commit is contained in:
		
							parent
							
								
									63672bc731
								
							
						
					
					
						commit
						25e86ce9d6
					
				
					 1 changed files with 31 additions and 0 deletions
				
			
		
							
								
								
									
										31
									
								
								pkgs/lynx/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								pkgs/lynx/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,31 @@ | ||||||
|  | pkgname=lynx | ||||||
|  | pkgver=2.8.9 | ||||||
|  | 
 | ||||||
|  | fetch() { | ||||||
|  | 	curl "https://invisible-mirror.net/archives/lynx/tarballs/lynx2.8.9rel.1.tar.bz2" -o $pkgname-$pkgver.tar.xz | ||||||
|  | 	tar -xf $pkgname-$pkgver.tar.xz | ||||||
|  | 	mv lynx2.8.9rel.1 $pkgname-$pkgver | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | build() { | ||||||
|  | 	cd $pkgname-$pkgver | ||||||
|  | 	./configure \ | ||||||
|  | 		--prefix=/usr \ | ||||||
|  | 		--sysconfdir=/etc \ | ||||||
|  | 		--with-ssl=/usr \ | ||||||
|  | 		--build=x86_64-unknown-linux-musl \ | ||||||
|  | 		--host=x86_64-unknown-linux-musl | ||||||
|  | 
 | ||||||
|  | 	gmake | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | package() { | ||||||
|  | 	cd $pkgname-$pkgver | ||||||
|  | 	gmake install DESTDIR=$pkgdir | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | license() { | ||||||
|  | 	cd $pkgname-$pkgver | ||||||
|  | 	cat LICENSE | ||||||
|  | #	cat COPYING | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue