bspwm-git: simplify by using the gnu-makefile build_style.
This commit is contained in:
parent
03e1569c83
commit
79d9060b28
|
@ -2,26 +2,20 @@
|
|||
pkgname=bspwm-git
|
||||
version=20131221
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
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
|
||||
post_install() {
|
||||
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue