core/ninja/Pkgfile

28 lines
790 B
Plaintext
Raw Normal View History

2021-12-11 19:30:26 +01:00
# Description: Small build system with a focus on speed
2021-12-13 12:02:38 +01:00
# URL: https://ninja-build.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: cmake
# Optional: bash-completion zsh
2021-12-11 19:30:26 +01:00
name=ninja
2024-05-11 21:18:07 +02:00
version=1.12.1
2022-05-16 07:21:50 +02:00
release=1
2021-12-11 19:30:26 +01:00
source=(https://github.com/$name-build/$name/archive/v$version/$name-v$version.tar.gz)
build() {
cd $name-$version
./configure.py --bootstrap
install -D -m 0755 $name $PKG/usr/bin/$name
# prt-get isinst bash-completion && \
# install -m644 -D misc/bash-completion \
# $PKG/usr/share/bash-completion/completions/ninja
# prt-get isinst zsh && install -m644 -D misc/zsh-completion \
# $PKG/usr/share/zsh/site-functions/_ninja
install -m644 -D misc/ninja.vim \
2023-12-24 12:43:51 +01:00
$PKG/usr/share/vim/vimfiles/syntax/ninja.vim
2021-12-11 19:30:26 +01:00
}