cmake meson ninja
This commit is contained in:
1 parent
03b245d4c1
commit
e599e29006
2 files changed
+64
No files matched your search
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='cmake'
|
||||||
|
release='1'
|
||||||
|
version='3.25.1'
|
||||||
|
url='https://example.org'
|
||||||
|
description='A cross-platform open-source make system'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/Kitware/CMake/releases/download/v$version/cmake-$version.tar.gz")
|
||||||
|
depends=( )
|
||||||
|
makedepends=( )
|
||||||
|
md5sums=('521a03b1c36412463eda0348bebf4765')
|
||||||
|
uses=()
|
||||||
|
uses_extra=(qt)
|
||||||
|
group=(dev.util)
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./bootstrap --prefix=/usr \
|
||||||
|
--no-system-libs \
|
||||||
|
$(use_opt qt --qt-gui --no-qt-gui) \
|
||||||
|
--parallel=`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='ninja'
|
||||||
|
release='1'
|
||||||
|
version='1.11.1'
|
||||||
|
url='https://github.com/ninja-build/ninja/releases'
|
||||||
|
description='Small build system with a focus on speed'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/ninja-build/ninja/archive/refs/tags/v$version.zip")
|
||||||
|
depends=(gcc)
|
||||||
|
makedepends=(python)
|
||||||
|
md5sums=('a72270b93209081955a3631365cb8767')
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
group=(dev.util)
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
build(){
|
||||||
|
python3 configure.py --bootstrap
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
install -m755 -D ninja "${DESTDIR}/usr/bin/ninja"
|
||||||
|
install -m644 -D misc/bash-completion "${DESTDIR}/usr/share/bash-completion/completions/ninja"
|
||||||
|
install -m644 -D misc/zsh-completion "${DESTDIR}/usr/share/zsh/site-functions/_ninja"
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user