nasm fixes
This commit is contained in:
		
							parent
							
								
									e6adc6ff76
								
							
						
					
					
						commit
						0c7f72de8a
					
				
					 1 changed files with 10 additions and 2 deletions
				
			
		|  | @ -2,6 +2,7 @@ pkgname=nasm | ||||||
| pkgver=2.15 | pkgver=2.15 | ||||||
| pkgrel=1 | pkgrel=1 | ||||||
| bad="gmake" | bad="gmake" | ||||||
|  | ext="doc" | ||||||
| 
 | 
 | ||||||
| fetch(){ | fetch(){ | ||||||
| 	curl "https://www.nasm.us/pub/nasm/releasebuilds/$pkgver/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.gz | 	curl "https://www.nasm.us/pub/nasm/releasebuilds/$pkgver/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.gz | ||||||
|  | @ -12,14 +13,21 @@ build(){ | ||||||
| 	cd $pkgname-$pkgver | 	cd $pkgname-$pkgver | ||||||
| 	./configure \ | 	./configure \ | ||||||
| 		--build=x86_64-unknown-linux-musl \ | 		--build=x86_64-unknown-linux-musl \ | ||||||
| 		--host=x86_64-unknown-linux-musl | 		--host=x86_64-unknown-linux-musl \ | ||||||
| 		--prefix=/usr | 		--prefix=/usr | ||||||
| 	gmake | 	gmake | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| package(){ | package() { | ||||||
| 	cd $pkgname-$pkgver | 	cd $pkgname-$pkgver | ||||||
| 	gmake DESTDIR="$pkgdir" install | 	gmake DESTDIR="$pkgdir" install | ||||||
|  | 	rm -r $pkgdir/usr/share | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | package_doc() { | ||||||
|  | 	cd $pkgname-$pkgver | ||||||
|  | 	gmake DESTDIR="$pkgdir" install | ||||||
|  | 	rm -r $pkgdir/usr/bin | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| license() { | license() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue