blob: e6831c7e76e684e5d1c52b2b16fb0fc6d1c6f519 (
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
50
51
52
53
54
55
56
57
58
59
60
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=i3wm
pkgver=4.17.1
pkgrel=1
pkgdesc="Improved dynamic tiling window manager"
url="https://i3wm.org"
arch="all"
license="BSD-3-Clause"
makedepends="
bison
cairo-dev
flex
libev-dev
libxcb-dev
libxkbcommon-dev
pango-dev
pcre-dev
perl
startup-notification-dev
xcb-util-cursor-dev
xcb-util-keysyms-dev
xcb-util-wm-dev
xcb-util-xrm-dev
yajl-dev
"
subpackages="
$pkgname-dev
$pkgname-doc
$pkgname-save_tree:savetree:noarch
"
source="
https://i3wm.org/downloads/i3-$pkgver.tar.bz2
"
builddir="$srcdir/i3-$pkgver"
options="!check" # missing perl bindings for libxcb
build() {
./configure \
--prefix=/usr \
--disable-builddir \
--sysconfdir=/etc
make
}
package() {
make DESTDIR="$pkgdir/" install
install -d "$pkgdir/usr/share/man/man1"
install -m644 man/*.1 "$pkgdir"/usr/share/man/man1/
}
savetree() {
pkgdesc="Session export tool for $pkgname"
depends="$pkgname=$pkgver perl-anyevent-i3"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/i3-save-tree "$subpkgdir"/usr/bin/
}
sha512sums="af397dc1768ea6530e4b2ce8ef21b20ecff8ab9eebf380df224456173eea4c3bacf28b55c8efcdc70f76f0d66543c163564a94cfd66028221ace481fa3c2913f i3-4.17.1.tar.bz2"
|