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

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