aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i3wm-gaps/APKBUILD
blob: 98eb6d59ec54ced5c2e77ed9be91bb1700113d24 (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: prspkt <prspkt@protonmail.com>
pkgname=i3wm-gaps
pkgver=4.16.1
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="904c2f63c6a35573f13fd216625c1349ac71de70ae8f0440667c9d76048cdaf30a398ab358f2366d5f46502d87e801713b625cb509a05f39dbca1371d2b8d0e9  i3wm-4.16.1.tar.gz
c6ae3f22d0303da5de7ca4c92734b043a76d7447559fe2ffc308a8d135076cf05ee53ef63eb28c1bd628a1edfb2d1a0ed2d090836cb5fc70f2b882ee1105dad3  i3wm-musl-glob-tilde.patch"