aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i3wm-gaps/APKBUILD
blob: d8e1a8b9722cf70ffabfe768a2baf2e259b71964 (plain)
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
34
35
36
37
38
39
40
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=i3wm-gaps
pkgver=4.17.1
pkgrel=1
pkgdesc="Improved dynamic tiling window manager with additional features"
url="https://github.com/Airblader/i3"
arch="all"
license="BSD-3-Clause"
replaces="i3wm"
makedepends="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
	xcb-util-xrm-dev asciidoc perl xmlto autoconf automake libtool"
subpackages="$pkgname-doc"
source="i3wm-$pkgver.tar.gz::https://github.com/Airblader/i3/archive/$pkgver.tar.gz
	"
builddir="$srcdir/i3-$pkgver"
options="!check" # missing perl bindings for libxcb

prepare() {
	default_prepare
	autoreconf -vfi
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-builddir
	make
}

package() {
	make DESTDIR="$pkgdir/" install

	install -d "$pkgdir/usr/share/man/man1"
	install -m644 man/*.1 "$pkgdir"/usr/share/man/man1/
}

sha512sums="31e47487f6f662f27b2642925f4ddfc553f1fd075e612d0d2661db723897b12eeae0a2bcefa8a43e7f1d4c15aec2222d3a63e37c8f7e1f9fc96567faa380ebff  i3wm-4.17.1.tar.gz"