|
|
|
name=i3
|
|
|
|
version=4.12
|
|
|
|
update_url='http://i3wm.org/downloads/'
|
|
|
|
|
|
|
|
define_option '!window-icons: Patch for support for icons in the title'
|
|
|
|
|
|
|
|
dlextract "http://i3wm.org/downloads/$name-$version.tar.bz2" \
|
|
|
|
'308fc79ed252e1f3c8a093598e13e326'
|
|
|
|
|
|
|
|
if option window-icons; then
|
|
|
|
#dlfile 'https://aur.archlinux.org/cgit/aur.git/plain/iconsupport.patch?h=i3-wm-iconpatch&id=df5ce8271b714937088bc797b5724c1f2c591c74' \
|
|
|
|
# '3fe4dbd039bc0934d641ac9328e7ef92'
|
|
|
|
extrafile 'iconsupport.patch'
|
|
|
|
fi
|
|
|
|
header_end
|
|
|
|
|
|
|
|
cd "$name-$version"
|
|
|
|
|
|
|
|
option window-icons patch -p1 -i ../iconsupport.patch
|
|
|
|
|
|
|
|
# Fix install directories
|
|
|
|
sed -i -e "/\$(INSTALL)/s/bin/$(safe_sed "$dir_bindir")/" \
|
|
|
|
-e "/\$(INSTALL)/s/share/$(safe_sed "$dir_datadir")/" \
|
|
|
|
src/i3.mk i3-msg/i3-msg.mk i3-nagbar/i3-nagbar.mk \
|
|
|
|
i3-config-wizard/i3-config-wizard.mk i3bar/i3bar.mk \
|
|
|
|
i3-dump-log/i3-dump-log.mk i3-input/i3-input.mk
|
|
|
|
|
|
|
|
make install \
|
|
|
|
PREFIX="/$dir_prefix" \
|
|
|
|
SYSCONFDIR="/$dir_sysconfdir" \
|
|
|
|
DESTDIR="$dir_install"
|
|
|
|
|
|
|
|
make -C man
|
|
|
|
install -Dm644 -t "$dir_install/$dir_prefix/$dir_mandir/man1" man/*.1
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:
|