opt/ninja/Pkgfile
2017-09-07 16:49:56 +10:00

21 lines
565 B
Plaintext

# Description: Small build system with a focus on speed
# URL: https://ninja-build.org/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: python
name=ninja
version=1.8.1
release=1
source=(https://github.com/$name-build/$name/archive/v$version/$name-v$version.tar.gz)
build() {
cd $name-$version
/usr/bin/python configure.py --bootstrap
install -D -m 0755 $name $PKG/usr/bin/$name
# core/vim provides this file
# install -D -m 0644 misc/ninja.vim \
# $PKG/usr/share/vim/syntax/ninja.vim
}