From 5aa5deca3927af5ec57a72583cf75ad86d656e13 Mon Sep 17 00:00:00 2001 From: milisman Date: Fri, 29 Apr 2016 18:21:28 +0000 Subject: [PATCH] ricin-toxclient --- talimatname/genel/meson/talimat | 15 +++++++++++++++ talimatname/genel/ninja/talimat | 28 ++++++++-------------------- talimatname/genel/ricin/talimat | 21 +++++++++++++++++++++ 3 files changed, 44 insertions(+), 20 deletions(-) create mode 100644 talimatname/genel/meson/talimat create mode 100644 talimatname/genel/ricin/talimat diff --git a/talimatname/genel/meson/talimat b/talimatname/genel/meson/talimat new file mode 100644 index 000000000..b5ae88c60 --- /dev/null +++ b/talimatname/genel/meson/talimat @@ -0,0 +1,15 @@ +# Description: SCons-like build system that use python as a front-end language and Ninja as a building backend +# URL: http://mesonbuild.com/ +# Packager: milisarge +# Depends on: python git ninja + +name=meson +version=0.31.0 +release=1 + +source=(https://github.com/mesonbuild/meson/releases/download/$version/$name-$version.tar.gz) + +build () { + cd $name-$version + python3 setup.py install --root="$PKG" --optimize=1 +} diff --git a/talimatname/genel/ninja/talimat b/talimatname/genel/ninja/talimat index 25096c8e7..c26942224 100644 --- a/talimatname/genel/ninja/talimat +++ b/talimatname/genel/ninja/talimat @@ -1,28 +1,16 @@ -# Description: Cross-platform IDE focused on Python application development +# Description: Small build system with a focus on speed # URL: http://martine.github.io/ninja/ -# Packager: pierre at nutyx dot org -# Depends on: git re2c python +# Packager: milisarge +# Depends on: python name=ninja -version=1.4.0 +version=1.6.0 release=1 +source=(https://github.com/martine/$name/archive/v$version.tar.gz) -source=() - build() { - git clone git://github.com/martine/ninja.git - cd $name - git checkout release - python bootstrap.py - if [ -x /usr/bin/emacs ] ; then - emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el - fi - - install -m755 -D ninja $PKG/usr/bin/ninja - install -m644 -D misc/bash-completion $PKG/usr/share/bash-completion/completions/ninja - install -m644 -D misc/ninja-mode.el $PKG/usr/share/emacs/site-lisp/ninja-mode.el - if [ -x /usr/bin/emacs ] ; then - install -m644 -D misc/ninja-mode.elc $PKG/usr/share/emacs/site-lisp/ninja-mode.elc - fi + cd $name-$version + ./configure.py --bootstrap + install -D -m 0755 $name $PKG/usr/bin/$name } diff --git a/talimatname/genel/ricin/talimat b/talimatname/genel/ricin/talimat new file mode 100644 index 000000000..8f5472dc6 --- /dev/null +++ b/talimatname/genel/ricin/talimat @@ -0,0 +1,21 @@ +# Description: Lightweight vala based Tox client +# URL: https://github.com/RicinApp/Ricin +# packager: milisarge +# Depends on: toxcore meson gtk3 vala json-glib libsoup libnotify + +name=ricin +_name=Ricin +version=0.0.7 +release=1 +source=(https://github.com/RicinApp/${_name}/archive/v${version}.tar.gz) + +build() { + cd ${_name}-${version} + make autogen + make release + cd build + mesonconf.py -Dprefix=/usr + cd .. + make DESTDIR=$PKG install + install -Dm755 "build/${_name}" "$PKG/usr/bin/ricin" +}