void-packages/srcpkgs/bspwm-git/template

33 lines
734 B
Plaintext
Raw Normal View History

2013-08-12 19:44:53 +02:00
# Template file for 'bspwm-git'
pkgname=bspwm-git
2013-08-26 12:47:47 +02:00
version=20130826
2013-08-12 19:44:53 +02:00
revision=1
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel"
short_desc="A tiling window manager based on binary space partitioning"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="BSD"
homepage="https://github.com/baskerville/bspwm"
do_fetch() {
local url="git://github.com/baskerville/bspwm"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
do_build() {
sed -i 's/LIBS =/LIBS +=/g' Makefile
make CC=$CC INCS="-I." ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
vinstall LICENSE 644 usr/share/licenses/$pkgname
}
bspwm-git_package() {
pkg_install() {
vmove usr
}
}