aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i3wm-gaps/APKBUILD
blob: 110332ece1d3516e246c59b3a6615af55d807e20 (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
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=i3wm-gaps
pkgver=4.18
pkgrel=0
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="e36291424c3f638bba63ae64d0d2c7b9d4c31aed9ec43c563f93faae2384e3c705d2b685fa6396c4c7762c0d39dfae6c3eef603d1719ad5c9b627c4aa62ff872  i3wm-4.18.tar.gz"