aboutsummaryrefslogtreecommitdiffstats
path: root/community/herbstluftwm/APKBUILD
blob: 04c14c28bdb4d9ea312d745960cead161baa06ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Ɓukasz Jendrysik
# Contributor: Eivind Uggedal <eu@eju.no>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=herbstluftwm
pkgver=0.9.1
pkgrel=0
pkgdesc="Manual tiling window manager"
url="https://herbstluftwm.org"
arch="all"
license="BSD-2-Clause"
makedepends="asciidoc cmake glib-dev libxinerama-dev libxrandr-dev"
subpackages="$pkgname-doc
	$pkgname-bash-completion
	$pkgname-zsh-completion
	$pkgname-fish-completion
	"
source="https://herbstluftwm.org/tarballs/herbstluftwm-$pkgver.tar.gz"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DBASHCOMPLETIONDIR=/usr/share/bash-completion/completions \
		-DFISHCOMPLETIONDIR=/usr/share/fish/completions \
		-DZSHCOMPLETIONDIR=/usr/share/zsh/site-functions
	make -C build
}

package() {
	make -C build DESTDIR="$pkgdir" install
}

sha512sums="c69cc5a77e98e2e0a1c84938394fe97cd985bfedb8bb1e2dceddb0268f30597cdf9b30048aa3618c20ec549f2113b7a6bbbb94f2fbcc578b8f0117bdd8cac85d  herbstluftwm-0.9.1.tar.gz"