# Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=i3wm pkgver=4.17.1 pkgrel=1 pkgdesc="Improved dynamic tiling window manager" url="https://i3wm.org" arch="all" license="BSD-3-Clause" makedepends=" bison cairo-dev flex libev-dev libxcb-dev libxkbcommon-dev pango-dev pcre-dev perl startup-notification-dev xcb-util-cursor-dev xcb-util-keysyms-dev xcb-util-wm-dev xcb-util-xrm-dev yajl-dev " subpackages=" $pkgname-dev $pkgname-doc $pkgname-save_tree:savetree:noarch " source=" https://i3wm.org/downloads/i3-$pkgver.tar.bz2 " builddir="$srcdir/i3-$pkgver" options="!check" # missing perl bindings for libxcb build() { ./configure \ --prefix=/usr \ --disable-builddir \ --sysconfdir=/etc make } package() { make DESTDIR="$pkgdir/" install install -d "$pkgdir/usr/share/man/man1" install -m644 man/*.1 "$pkgdir"/usr/share/man/man1/ } savetree() { pkgdesc="Session export tool for $pkgname" depends="$pkgname=$pkgver perl-anyevent-i3" mkdir -p "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/i3-save-tree "$subpkgdir"/usr/bin/ } sha512sums="af397dc1768ea6530e4b2ce8ef21b20ecff8ab9eebf380df224456173eea4c3bacf28b55c8efcdc70f76f0d66543c163564a94cfd66028221ace481fa3c2913f i3-4.17.1.tar.bz2"