# Contributor: Ɓukasz Jendrysik # Contributor: Eivind Uggedal # Maintainer: prspkt pkgname=herbstluftwm pkgver=0.9.5 pkgrel=2 pkgdesc="Manual tiling window manager" url="https://herbstluftwm.org" arch="all" license="BSD-2-Clause" makedepends=" asciidoc cmake freetype-dev glib-dev libxfixes-dev libxft-dev libxinerama-dev libxrandr-dev python3 py3-setuptools samurai " subpackages="$pkgname-doc $pkgname-bash-completion $pkgname-zsh-completion $pkgname-fish-completion py3-$pkgname:python_bindings:noarch " source="https://herbstluftwm.org/tarballs/herbstluftwm-$pkgver.tar.gz" build() { cmake -G Ninja -B build \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBASHCOMPLETIONDIR=/usr/share/bash-completion/completions \ -DFISHCOMPLETIONDIR=/usr/share/fish/vendor_completions.d \ -DZSHCOMPLETIONDIR=/usr/share/zsh/site-functions cmake --build build cd python python3 setup.py build } package() { DESTDIR="$pkgdir" cmake --install build cd python python3 setup.py install --skip-build --root="$pkgdir" } python_bindings() { pkgdesc="Python bindings for herbstluftwm" depends="python3" amove usr/lib/python3* } sha512sums=" a85fd1ab16b873f512d6965cc4a93524e3ed4a15079d0d4ee54012e217bd41db3b54729c1b30ee361c34b38799f95bc537099056ba7a5f791bf2be6724bc92c3 herbstluftwm-0.9.5.tar.gz "