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.

20 lines
763 B

name=ninja
version=1.7.1
update_url="https://github.com/ninja-build/$name/releases"
dlextract "https://github.com/ninja-build/$name/archive/v$version.tar.gz" \
'e45bda009319f9af5385bb79e783da9f'
header_end
cd "$name-$version"
./configure.py --bootstrap
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "$name"
install -Dm644 misc/bash-completion "$dir_install/$dir_prefix/$dir_datadir/bash-completion/completions/$name"
install -Dm644 misc/zsh-completion "$dir_install/$dir_prefix/$dir_datadir/zsh/site-functions/_$name"
install -Dm644 misc/ninja.vim "$dir_install/$dir_prefix/$dir_datadir/vim/vimfiles/syntax/$name.vim"
# Not installing emacs stuff because I have no idea how it works
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: