2011-11-22 11:11:39 +01:00
|
|
|
# Template file for 'i3'
|
|
|
|
pkgname=i3
|
2013-03-19 16:47:21 +01:00
|
|
|
version=4.5.1
|
2013-05-06 14:07:47 +02:00
|
|
|
revision=3
|
2013-03-12 23:54:30 +01:00
|
|
|
short_desc="Improved tiling window manager"
|
2011-11-22 11:11:39 +01:00
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="BSD"
|
2012-09-17 17:58:28 +02:00
|
|
|
homepage="http://i3wm.org/"
|
|
|
|
distfiles="${homepage}/downloads/${pkgname}-${version}.tar.bz2"
|
2013-03-19 16:47:21 +01:00
|
|
|
checksum=bae55f1c7c4a21d71aae182e4fab6038ba65ba4be5d1ceff9e269f4f74b823f2
|
2011-11-22 11:11:39 +01:00
|
|
|
long_desc="
|
|
|
|
i3 is a tiling window manager, completely written from scratch. The target
|
|
|
|
platforms are GNU/Linux and BSD operating systems, our code is Free and Open
|
|
|
|
Source Software (FOSS) under the BSD license. i3 is primarily targeted at
|
|
|
|
advanced users and developers."
|
|
|
|
|
2013-05-06 14:07:47 +02:00
|
|
|
hostmakedepends="which perl pkg-config asciidoc xmlto"
|
|
|
|
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"
|
2012-12-13 09:23:11 +01:00
|
|
|
|
2011-11-22 11:11:39 +01:00
|
|
|
do_build() {
|
2013-05-06 14:07:47 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig"
|
|
|
|
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
|
|
|
|
fi
|
|
|
|
make CC="$CC" LD="$LD" CFLAGS="$CFLAGS" ${makejobs}
|
2013-04-12 16:39:50 +02:00
|
|
|
make ${makejobs} -C man
|
2011-11-22 11:11:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2012-09-20 16:05:40 +02:00
|
|
|
make DESTDIR=${DESTDIR} install
|
2011-11-22 11:11:39 +01:00
|
|
|
vmkdir usr/share/man/man1
|
2012-06-05 14:50:15 +02:00
|
|
|
install -m644 man/*.1 ${DESTDIR}/usr/share/man/man1
|
2011-11-22 11:11:39 +01:00
|
|
|
}
|
2013-04-12 16:39:50 +02:00
|
|
|
|
|
|
|
i3-devel_package() {
|
2013-05-06 14:07:47 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 16:39:50 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
i3_package() {
|
|
|
|
depends="i3status rxvt-unicode dmenu"
|
|
|
|
conf_files="/etc/i3/config /etc/i3/config.keycodes"
|
|
|
|
pkg_install() {
|
2013-05-06 14:07:47 +02:00
|
|
|
vmove all
|
2013-04-12 16:39:50 +02:00
|
|
|
}
|
|
|
|
}
|