2013-09-28 13:20:19 +02:00
|
|
|
# Template file for '2bwm-git'
|
|
|
|
pkgname=2bwm-git
|
2014-08-01 19:38:41 +02:00
|
|
|
version=20140801
|
2014-08-01 21:56:03 +02:00
|
|
|
revision=2
|
2014-05-01 13:42:41 +02:00
|
|
|
build_style=gnu-makefile
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
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"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="ISC"
|
|
|
|
homepage="https://github.com/venam/2bwm"
|
2014-05-31 13:01:08 +02:00
|
|
|
provides="2bwm-${version}_${revision}"
|
|
|
|
replaces="2bwm>=0"
|
2013-09-28 13:20:19 +02:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/venam/2bwm"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2014-05-01 13:42:41 +02:00
|
|
|
pre_build() {
|
2013-09-28 13:20:19 +02:00
|
|
|
cp ${FILESDIR}/config.h config.h
|
|
|
|
sed -i '/#include <stdlib.h>/i#define _GNU_SOURCE' 2bwm.c
|
2014-05-01 13:42:41 +02:00
|
|
|
CC=$CC
|
2013-09-28 13:20:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|