2bwm: update to 0.2
This commit is contained in:
parent
543582ed92
commit
4780f5a679
|
@ -1,28 +1,28 @@
|
||||||
# Template file for '2bwm'
|
# Template file for '2bwm'
|
||||||
pkgname=2bwm
|
pkgname=2bwm
|
||||||
version=0.1
|
version=0.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel"
|
makedepends="libxcb-devel xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-xrm-devel"
|
||||||
short_desc="Fast floating window manager"
|
short_desc="Fast floating window manager"
|
||||||
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="https://github.com/venam/${pkgname}"
|
homepage="https://github.com/venam/2bwm"
|
||||||
distfiles="https://github.com/venam/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/venam/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum="13d98f229545e143f7bc5b54d137d47e08a8608dfa89792cdcd88386ac4ed78c"
|
checksum=5d071bdbe6d3b4b79b5462cc1b36afe357030fb70c7e64f88d9c7d541d648439
|
||||||
replaces="2bwm>=0"
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i 's|-Os ||g' Makefile
|
sed -i 's|-Os ||g' Makefile
|
||||||
sed -i 's|^CFLAGS+=|override CFLAGS +=|g' Makefile
|
sed -i 's|^CFLAGS+=|override CFLAGS +=|g' Makefile
|
||||||
sed -i 's|^LDFLAGS+=|override LDFLAGS +=|g' Makefile
|
sed -i 's|^LDFLAGS+=|override LDFLAGS +=|g' Makefile
|
||||||
sed -i '/#include <stdlib.h>/i#define _GNU_SOURCE' 2bwm.c
|
sed -i '/#include <stdlib.h>/i#define _GNU_SOURCE' 2bwm.c
|
||||||
|
sed -n 1,17p 2bwm.c >LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin 2bwm
|
vbin 2bwm
|
||||||
vbin hidden
|
vbin hidden
|
||||||
vman 2bwm.man 2bwm.1
|
vman 2bwm.man 2bwm.1
|
||||||
vman hidden.man hidden.1
|
vman hidden.man hidden.1
|
||||||
vdoc README.md README
|
vdoc README.md README
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user