1 # Maintainer: Thorsten Toepper <atsutane at freethoughts dot de>
6 pkgdesc="An improved dynamic tiling window manager"
8 url="http://i3.zekjur.net/"
11 conflicts=('i3-wm' 'i3bar' 'i3bar-git')
12 depends=('libxcursor' 'xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl' 'startup-notification' 'pcre')
13 makedepends=('git' 'asciidoc' 'docbook-xsl' 'pkgconfig'
15 optdepends=('rxvt-unicode: The terminal emulator used in the default config.'
17 'i3lock: For locking your screen.'
18 'i3status: To display systeminformation with a bar.')
19 options=('docs' '!strip')
21 _gitroot="git://code.stapelberg.de/i3"
26 msg "Connecting to GIT server...."
28 if [ -d $_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
35 git branch -f next origin/next
39 msg "GIT checkout done or server timeout"
40 msg "Starting make..."
42 rm -rf "$srcdir/$_gitname-build"
43 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
44 cd "$srcdir/$_gitname-build"
51 cd "$srcdir/$_gitname-build"
52 make DESTDIR="$pkgdir/" install
54 install -Dm644 LICENSE \
55 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
57 install -Dm644 man/i3.1 \
58 ${pkgdir}/usr/share/man/man1/i3.1
59 install -Dm644 i3bar/doc/i3bar.1 \
60 ${pkgdir}/usr/share/man/man1/i3bar.1
61 install -Dm644 man/i3-config-wizard.1 \
62 ${pkgdir}/usr/share/man/man1/i3-config-wizard.1
63 install -Dm644 man/i3-input.1 \
64 ${pkgdir}/usr/share/man/man1/i3-input.1
65 install -Dm644 man/i3-msg.1 \
66 ${pkgdir}/usr/share/man/man1/i3-msg.1
67 install -Dm644 man/i3-migrate-config-to-v4.1 \
68 ${pkgdir}/usr/share/man/man1/i3-migrate-config-to-v4.1
69 install -Dm644 man/i3-nagbar.1 \
70 ${pkgdir}/usr/share/man/man1/i3-nagbar.1
71 install -Dm644 LICENSE \
72 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
77 # vim:set ts=2 sw=2 et: