2015-06-13 12:42:03 +02:00
|
|
|
# Template file for '2bwm'
|
|
|
|
pkgname=2bwm
|
2015-07-15 19:21:00 +02:00
|
|
|
version=0.1
|
2014-12-13 20:08:45 +01:00
|
|
|
revision=1
|
2014-05-01 13:42:41 +02:00
|
|
|
build_style=gnu-makefile
|
2013-09-28 13:20:19 +02:00
|
|
|
makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel"
|
|
|
|
short_desc="Fast floating window manager"
|
2015-11-17 22:24:45 +01:00
|
|
|
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
2013-09-28 13:20:19 +02:00
|
|
|
license="ISC"
|
2015-06-13 12:42:03 +02:00
|
|
|
homepage="https://github.com/venam/${pkgname}"
|
2015-07-15 19:21:00 +02:00
|
|
|
distfiles="https://github.com/venam/${pkgname}/archive/v${version}.tar.gz"
|
|
|
|
checksum="13d98f229545e143f7bc5b54d137d47e08a8608dfa89792cdcd88386ac4ed78c"
|
2014-09-19 20:10:32 +02:00
|
|
|
replaces="2bwm>=0"
|
2013-09-28 13:20:19 +02:00
|
|
|
|
2014-05-01 13:42:41 +02:00
|
|
|
pre_build() {
|
2015-06-13 12:42:03 +02: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 13:20:19 +02:00
|
|
|
sed -i '/#include <stdlib.h>/i#define _GNU_SOURCE' 2bwm.c
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2014-07-05 17:50:26 +02:00
|
|
|
vbin 2bwm
|
|
|
|
vbin hidden
|
2014-08-01 21:56:03 +02:00
|
|
|
vman 2bwm.man 2bwm.1
|
|
|
|
vman hidden.man hidden.1
|
|
|
|
vdoc README.md README
|
2013-09-28 13:20:19 +02:00
|
|
|
}
|