From 89073bf8bd855e6ae7c137a2c64d5504d4112f5b Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sat, 9 Sep 2023 00:32:59 -0700 Subject: [PATCH] Update PKGBUILD --- PKGBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index aa4e8a1..4ad958e 100644 --- a/PKGBUILD +++ b/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() {