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