i3: switch to gnu-makefile build_style; drop optional run-time deps.

This commit is contained in:
Juan RP 2013-12-04 20:54:56 +01:00
parent da603e550b
commit 3ba859ebfd
1 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,8 @@
# Template file for 'i3'
pkgname=i3
version=4.6
revision=1
revision=2
build_style=gnu-makefile
short_desc="Improved tiling window manager"
maintainer="davehome <davehome@redthumb.info.tm>"
license="BSD"
@ -19,13 +20,11 @@ makedepends="pcre-devel>=8.30 yajl-devel libxcb-devel libev-devel
libXcursor-devel pango-devel startup-notification-devel>=0.12_3
xcb-util-devel>=0.3.9 xcb-util-keysyms-devel>=0.3.9 xcb-util-wm-devel>=0.3.9"
do_build() {
make CC="$CC" LD="$LD" CFLAGS="$CFLAGS" ${makejobs}
post_build() {
make ${makejobs} -C man
}
do_install() {
make DESTDIR=${DESTDIR} install
post_install() {
vmkdir usr/share/man/man1
install -m644 man/*.1 ${DESTDIR}/usr/share/man/man1
}
@ -38,7 +37,6 @@ i3-devel_package() {
}
i3_package() {
depends="i3status rxvt-unicode dmenu"
conf_files="/etc/i3/config /etc/i3/config.keycodes"
pkg_install() {
vmove all