aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i3wm-gaps/APKBUILD
blob: 399eeb4e18b57130e4d30b1dbf479dc67afec545 (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
41
42
43
44
# Maintainer:
pkgname=i3wm-gaps
pkgver=4.15
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
	i3wm-musl-glob-tilde.patch
	"
builddir="$srcdir/i3-$pkgver"

build() {
	cd "$srcdir/i3-$pkgver"
	autoreconf -fi
	./configure \
		--prefix="/usr" \
		--sysconfdir="/etc" \
		--disable-builddir
	make
}

check() {
	cd "$builddir"
	./i3 --version > /dev/null
}

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

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

sha512sums="83a36a1db7099f8a9a6f9ad1c7434a187a75ccd8f6fd4e4442a912a3409b851fb8153d9c3e72d68dcfaedce8b6f0ad249e08226238c82873bc0691dbf94c7fda  i3wm-4.15.tar.gz
8ce7d00371c43b93dabbe0dadf9caf7c58a68f4a0079f5a9b9552c15c55bfa0df16d7e87a281595af2ac5254632ba28ccf82a467cea16159b41490f6f2910299  i3wm-musl-glob-tilde.patch"