You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
848 B
31 lines
848 B
import 'compile/configure'
|
|
|
|
name=i3
|
|
version=4.13
|
|
update_url='http://i3wm.org/downloads/'
|
|
|
|
define_option '!gaps: Use the i3-gaps fork'
|
|
define_option '!patch: Apply some custom patches'
|
|
|
|
if option gaps; then
|
|
dlextract "https://github.com/Airblader/$name/archive/$version/$name-gaps-$version.tar.gz" \
|
|
'a591216c8a84d27431b057e4d01b151e'
|
|
else
|
|
dlextract "http://i3wm.org/downloads/$name-$version.tar.bz2" \
|
|
'08d17dcf1fde665a15f7d411486546ae'
|
|
fi
|
|
option patch extrafile "$name-$version-window-icons.patch"
|
|
_
|
|
|
|
cd "$name-$version"
|
|
|
|
option window-icons patch -p1 -i "../$name-$version-window-icons.patch"
|
|
|
|
if option gaps; then
|
|
autoreconf -fi
|
|
compile_configure -b build -- --srcdir=.. --disable-sanitizers
|
|
else
|
|
compile_configure -b build -- --srcdir=..
|
|
fi
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|
|
|