wmutils-core: unbreak build (#1779)
This commit is contained in:
parent
33edcd767a
commit
f56d8ff6b0
|
@ -1,20 +1,18 @@
|
||||||
# Template file for 'wmutils-core'
|
# Template file for 'wmutils-core'
|
||||||
pkgname=wmutils-core
|
pkgname=wmutils-core
|
||||||
version=1.0
|
version=1.0
|
||||||
revision=1
|
revision=2
|
||||||
makedepends="libxcb-devel"
|
makedepends="libxcb-devel"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Set of window manipulation tools "
|
short_desc="Set of window manipulation tools"
|
||||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="https://github.com/wmutils/core"
|
homepage="https://github.com/wmutils/core"
|
||||||
distfiles="https://github.com/${pkgname%-*}/core/archive/v${version}.tar.gz"
|
distfiles="https://github.com/${pkgname%-*}/core/archive/v${version}.tar.gz"
|
||||||
checksum=370d1149ef1362daab4da86e96b90f316b111826711a906566d3cbbcb2297683
|
checksum=370d1149ef1362daab4da86e96b90f316b111826711a906566d3cbbcb2297683
|
||||||
wrksrc="${pkgname##*-}-${version}"
|
wrksrc="${pkgname##*-}-${version}"
|
||||||
|
LDFLAGS="-lxcb"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i 's|^CC|#CC|g' config.mk
|
|
||||||
sed -i 's|^LD +|#LD|g' config.mk
|
|
||||||
sed -i 's|^CFLAGS|#CFLAGS|g' config.mk
|
|
||||||
sed -i 's|@$(LD)|@$(CC)|g' Makefile
|
sed -i 's|@$(LD)|@$(CC)|g' Makefile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue