Update PKGBUILD

This commit is contained in:
Alexander Rosenberg 2023-09-09 00:32:59 -07:00
parent cc78fe00af
commit 89073bf8bd
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -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() {