ricin-toxclient

This commit is contained in:
milisman 2016-04-29 18:21:28 +00:00
parent c30179f4a7
commit 5aa5deca39
3 changed files with 44 additions and 20 deletions

View File

@ -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
}

View File

@ -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=()
source=(https://github.com/martine/$name/archive/v$version.tar.gz)
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
}

View File

@ -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"
}