Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
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.

32 lines
841 B

import 'compile/configure'
name=i3
version=4.14
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" \
'beb3840ab70e0dbce64c49ddffe13601'
else
dlextract "http://i3wm.org/downloads/$name-$version.tar.bz2" \
'ad134ada9972943b799feaddfb1f3121'
fi
option patch extrafile "$name-$version-window-icons.patch"
_
cd "$name-$version"
option patch 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: