29 lines
813 B
Bash
29 lines
813 B
Bash
# Template file for '2bwm'
|
|
pkgname=2bwm
|
|
version=0.1
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
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"
|
|
homepage="https://github.com/venam/${pkgname}"
|
|
distfiles="https://github.com/venam/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum="13d98f229545e143f7bc5b54d137d47e08a8608dfa89792cdcd88386ac4ed78c"
|
|
replaces="2bwm>=0"
|
|
|
|
pre_build() {
|
|
sed -i 's|-Os ||g' Makefile
|
|
sed -i 's|^CFLAGS+=|override CFLAGS +=|g' Makefile
|
|
sed -i 's|^LDFLAGS+=|override LDFLAGS +=|g' Makefile
|
|
sed -i '/#include <stdlib.h>/i#define _GNU_SOURCE' 2bwm.c
|
|
}
|
|
|
|
do_install() {
|
|
vbin 2bwm
|
|
vbin hidden
|
|
vman 2bwm.man 2bwm.1
|
|
vman hidden.man hidden.1
|
|
vdoc README.md README
|
|
}
|