swm: unbreak.
This commit is contained in:
parent
b419a9a5a1
commit
950feaef73
|
@ -1,22 +1,20 @@
|
||||||
# Template file for 'swm'
|
# Template file for 'swm'
|
||||||
pkgname=swm
|
pkgname=swm
|
||||||
version=1.0
|
version=1.0
|
||||||
revision=1
|
revision=2
|
||||||
makedepends="libxcb-devel"
|
makedepends="libxcb-devel"
|
||||||
build_style=gnu-makefile
|
|
||||||
short_desc="A simple window manager"
|
short_desc="A simple window manager"
|
||||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||||
license="Public Domain"
|
license="Public Domain"
|
||||||
homepage="https://github.com/dcat/swm"
|
homepage="https://github.com/dcat/swm"
|
||||||
distfiles="https://github.com/dcat/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/dcat/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=f0b9b3616f7499a0a7ba0c284e7905ba640626cdc93d33b83a6bcfb781fe1ad0
|
checksum=f0b9b3616f7499a0a7ba0c284e7905ba640626cdc93d33b83a6bcfb781fe1ad0
|
||||||
wrksrc="${pkgname}-${version}"
|
|
||||||
|
|
||||||
pre_build() {
|
do_build() {
|
||||||
sed -i 's|^CFLAGS|#CFLAGS|g' Makefile
|
sed -i 's|^CFLAGS|#CFLAGS|g' Makefile
|
||||||
sed -i 's| -L/usr/X11R6/lib||g' Makefile
|
sed -i 's| -L/usr/X11R6/lib||g' Makefile
|
||||||
|
make CC=$CC
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin swm
|
vbin swm
|
||||||
}
|
}
|
Loading…
Reference in New Issue