# Maintainer: Natanael Copa pkgname=i3wm pkgver=4.10.3 pkgrel=0 pkgdesc="A tiling window manager" url="http://i3wm.org" arch="all" license="BSD" depends="" depends_dev="" makedepends="$depends_dev bison flex libxcb-dev xcb-util-cursor-dev xcb-util-keysyms-dev xcb-util-wm-dev libev-dev pango-dev cairo-dev yajl-dev startup-notification-dev pcre-dev libxkbcommon-dev" install="" subpackages="$pkgname-doc" source="http://i3wm.org/downloads/i3-${pkgver}.tar.bz2 musl.patch" _builddir="$srcdir/i3-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" make } package() { cd "$_builddir" make DESTDIR="$pkgdir/" install || return 1 install -d "$pkgdir/usr/share/man/man1" install -m644 man/*.1 "$pkgdir"/usr/share/man/man1/ || return 1 } md5sums="95ef0340c824a3e0b9e35013cc605fcf i3-4.10.3.tar.bz2 f4baffffe55d83deb61bfe880c248794 musl.patch" sha256sums="9290857bd5a4d1a792544d763bedd53104a683f3e721b5631811827a388107d3 i3-4.10.3.tar.bz2 bcbecf73b63715b88264e5a1628a1267ce996431b57a3fc2db336b42e08626b9 musl.patch" sha512sums="914456663158d04868fc15820e3ca3c12663f6af120d2e249b0e2930214808cf19d719acbef9aed2931a322973e92e0da85a2e1d72a135e5894e81f14f2889f1 i3-4.10.3.tar.bz2 860b2c3d3977652e81781bf30319b22dd9f3285ed2ca9474d2dd23e4787d9e19954ca7de6f320f1c6c326ee776cbf475d5aa6d861c49e59af6a831f601ba17a9 musl.patch"