2015-06-13 10:42:03 +00:00
|
|
|
# Template file for '2bwm'
|
|
|
|
pkgname=2bwm
|
|
|
|
version=0.0.0.20150613
|
2014-12-13 19:08:45 +00:00
|
|
|
revision=1
|
2014-05-01 11:42:41 +00:00
|
|
|
build_style=gnu-makefile
|
2013-09-28 11:20:19 +00:00
|
|
|
makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel"
|
|
|
|
short_desc="Fast floating window manager"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="ISC"
|
2015-06-13 10:42:03 +00:00
|
|
|
homepage="https://github.com/venam/${pkgname}"
|
|
|
|
distfiles="https://github.com/venam/${pkgname}/archive/master.tar.gz"
|
|
|
|
checksum="ad9858adadcd56951a8f294b30dd06a38f71a17b6d34e3eb9f6b8fbbbcba4fae"
|
2014-09-19 18:10:32 +00:00
|
|
|
replaces="2bwm>=0"
|
2015-06-13 10:42:03 +00:00
|
|
|
wrksrc="${pkgname}-master"
|
2013-09-28 11:20:19 +00:00
|
|
|
|
2014-05-01 11:42:41 +00:00
|
|
|
pre_build() {
|
2015-06-13 10:42:03 +00:00
|
|
|
sed -i 's|-Os ||g' Makefile
|
|
|
|
sed -i 's|^CFLAGS+=|override CFLAGS +=|g' Makefile
|
|
|
|
sed -i 's|^LDFLAGS+=|override LDFLAGS +=|g' Makefile
|
2013-09-28 11:20:19 +00:00
|
|
|
sed -i '/#include <stdlib.h>/i#define _GNU_SOURCE' 2bwm.c
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2014-07-05 15:50:26 +00:00
|
|
|
vbin 2bwm
|
|
|
|
vbin hidden
|
2014-08-01 19:56:03 +00:00
|
|
|
vman 2bwm.man 2bwm.1
|
|
|
|
vman hidden.man hidden.1
|
|
|
|
vdoc README.md README
|
2013-09-28 11:20:19 +00:00
|
|
|
}
|