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
815 B

import 'compile/configure'
name=i3
6 years ago
version=4.15
define_option '!gaps: Use the i3-gaps fork'
define_option '!patch: Apply some custom patches'
if option gaps; then
6 years ago
version+=.0.1
dlextract "https://github.com/Airblader/$name/archive/$version/$name-gaps-$version.tar.gz" \
6 years ago
'eab76b0d30964ec619364e9a8f51819f'
else
dlextract "http://i3wm.org/downloads/$name-$version.tar.bz2" \
6 years ago
'6ff0e7d59cf6983af68f9b4cdaf2a641'
fi
6 years ago
option patch extrafile "$name-4.14.1-window-icons.patch"
_
cd "$name-$version"
6 years ago
option patch patch -p0 -i "../$name-4.14.1-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: