Update PKGBUILD
This commit is contained in:
		
							
								
								
									
										8
									
								
								PKGBUILD
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								PKGBUILD
									
									
									
									
									
								
							| @ -14,7 +14,8 @@ optdepends=('pulseaudio: for dwmblocks-pulse-listener' | ||||
|             'bluez-utils: for dwmblocks-network bluetooth') | ||||
| DLAGENTS=('tar::/bin/sh -c echo\ %u\ |\ cut\ -c7-\ |\ head\ -c-5\ |\ xargs\ -Isrc\ -n\ 1\ tar\ -cf\ %o\ src') | ||||
| source=('dwmblocks.c' | ||||
|         'dwmblocks-pulse-listener.c' | ||||
|         'pulse-listener.c' | ||||
|         'pulse-listener.h' | ||||
|         'LICENSE' | ||||
|         'README.md' | ||||
|         'Makefile' | ||||
| @ -26,11 +27,14 @@ sha256sums=('SKIP' | ||||
|             'SKIP' | ||||
|             'SKIP' | ||||
|             'SKIP' | ||||
|             'SKIP' | ||||
|             'SKIP') | ||||
|  | ||||
| _no_x=1 | ||||
|  | ||||
| build() { | ||||
|     cp blocks.h blocks.def.h | ||||
|     make | ||||
|     make NO_X=$_no_x | ||||
| } | ||||
|  | ||||
| package() { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user