kbd: Add workman and modify build
This commit is contained in:
		
							parent
							
								
									56b065f63e
								
							
						
					
					
						commit
						790338bc2e
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		|  | @ -1,10 +1,9 @@ | |||
| pkgname=kbd | ||||
| pkgver=2.4.0 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| fetch() { | ||||
| 	curl "https://mirrors.edge.kernel.org/pub/linux/utils/kbd/kbd-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz | ||||
| 	curl "https://raw.githubusercontent.com/workman-layout/Workman/master/linux_console/workman.iso15.kmap" -o workman.map | ||||
| 	tar -xf $pkgname-$pkgver.tar.xz | ||||
| } | ||||
| 
 | ||||
|  | @ -13,7 +12,9 @@ build() { | |||
| 	./configure \ | ||||
| 		--prefix=/usr \ | ||||
| 		--build=x86_64-unknown-linux-musl \ | ||||
| 		--host=x86_64-unknown-linux-musl | ||||
| 		--host=x86_64-unknown-linux-musl \ | ||||
| 		--disable-tests \ | ||||
| 		--sysconfdir=/etc | ||||
| 
 | ||||
| 	make | ||||
| } | ||||
|  | @ -21,6 +22,8 @@ build() { | |||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	make install DESTDIR=$pkgdir | ||||
| 	install -d $pkgdir/usr/share/keymaps/i386/workman/ | ||||
| 	install -Dm 644 ../workman.map $pkgdir/usr/share/keymaps/i386/workman/ | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue