aboutsummaryrefslogtreecommitdiffstats
path: root/community/i3wm/APKBUILD
blob: 386816456175777104fb4f4d2c365e86be2ccc76 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=i3wm
pkgver=4.14
pkgrel=0
pkgdesc="A tiling window manager"
url="http://i3wm.org"
arch="all"
license="BSD"
makedepends="$depends_dev 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"
subpackages="$pkgname-doc"
source="http://i3wm.org/downloads/i3-${pkgver}.tar.bz2
	musl.patch"

builddir="$srcdir/i3-$pkgver/"

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

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

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

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

sha512sums="7211e9bd88d908bd0cbd5a56fddfe80a58da5b92bd6e41ff8ac2f965ebe0b6330483e38e4f12bb8406f1e9d41b2f9039a5f34555dd4bf2fc9b0bd95b95accb69  i3-4.14.tar.bz2
8ce7d00371c43b93dabbe0dadf9caf7c58a68f4a0079f5a9b9552c15c55bfa0df16d7e87a281595af2ac5254632ba28ccf82a467cea16159b41490f6f2910299  musl.patch"