name=i3 version=4.12 update_url='http://i3wm.org/downloads/' dlextract "http://i3wm.org/downloads/$name-$version.tar.bz2" \ '308fc79ed252e1f3c8a093598e13e326' header_end cd "$name-$version" # 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: