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') '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') DLAGENTS=('tar::/bin/sh -c echo\ %u\ |\ cut\ -c7-\ |\ head\ -c-5\ |\ xargs\ -Isrc\ -n\ 1\ tar\ -cf\ %o\ src')
source=('dwmblocks.c' source=('dwmblocks.c'
'dwmblocks-pulse-listener.c' 'pulse-listener.c'
'pulse-listener.h'
'LICENSE' 'LICENSE'
'README.md' 'README.md'
'Makefile' 'Makefile'
@ -26,11 +27,14 @@ sha256sums=('SKIP'
'SKIP' 'SKIP'
'SKIP' 'SKIP'
'SKIP' 'SKIP'
'SKIP'
'SKIP') 'SKIP')
_no_x=1
build() { build() {
cp blocks.h blocks.def.h cp blocks.h blocks.def.h
make make NO_X=$_no_x
} }
package() { package() {