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

_builddir="$srcdir/i3-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir/" install || return 1

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

md5sums="6b003955333a90cb831516f8dbf6e57d  i3-4.11.tar.bz2
c111abf5d38d2ad356923047a47f6a65  musl.patch"
sha256sums="78ce1e06fbd92fd63765bbe23faa7b8f929c17f99ed623f7abf2e568169d982f  i3-4.11.tar.bz2
626886ec7edfa768b4ab8cb9eaef4b3944e0a7cac2bb6748b7ce2622c409d08a  musl.patch"
sha512sums="76d45be9006973dd4093fd21ea1c83742b7977c7698e133ce8f9e7826d97d1631fbe6c3ea4a7eb3d989027f98e12738158e72ec450b0df3dddd28f912ff49a4f  i3-4.11.tar.bz2
b3d2947f95b83f4421b54899d6411d93124828fcb06d6777330db523b8a101ab425bc3201c1aaed00206b468320c85617a6e0657427a7a1aec4d671082aa6494  musl.patch"