bspwm-git: simplify by using the gnu-makefile build_style.

This commit is contained in:
Juan RP 2013-12-30 15:38:51 +01:00
parent 03e1569c83
commit 79d9060b28

View file

@ -2,26 +2,20 @@
pkgname=bspwm-git pkgname=bspwm-git
version=20131221 version=20131221
revision=1 revision=1
build_style=gnu-makefile
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel" makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel"
short_desc="A tiling window manager based on binary space partitioning" short_desc="A tiling window manager based on binary space partitioning"
maintainer="Ypnose <linuxienATlegtuxDOTorg>" maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="BSD" license="BSD"
homepage="https://github.com/baskerville/bspwm" homepage="https://github.com/baskerville/bspwm"
do_fetch() { do_fetch() {
local url="git://github.com/baskerville/bspwm" local url="git://github.com/baskerville/bspwm"
msg_normal "Fetching source from $url ...\n" msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version} git clone ${url} ${pkgname}-${version}
} }
do_build() { post_install() {
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 vinstall LICENSE 644 usr/share/licenses/$pkgname
} }