From c9e06585771fd2562fdb010f6539f85fb1bef10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BChlinghaus?= Date: Tue, 24 Mar 2015 23:55:46 +0100 Subject: [PATCH] New package: toxic-0.5.2_1 --- srcpkgs/toxcore-git/template | 4 +++- srcpkgs/toxic/template | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/toxic/template diff --git a/srcpkgs/toxcore-git/template b/srcpkgs/toxcore-git/template index dc26ce6d337..9f77ad5e407 100644 --- a/srcpkgs/toxcore-git/template +++ b/srcpkgs/toxcore-git/template @@ -1,7 +1,8 @@ # Template file for 'toxcore-git' pkgname="toxcore-git" version="20150313" -revision=1 +revision=2 +_commithash="4ad76497881ee2a623acdedcf0ac10406208b716" short_desc="Encrypted peer-to-peer instant messenger protocol library" maintainer="Stefan Mühlinghaus " license="GPL-3" @@ -15,6 +16,7 @@ do_fetch() { } pre_configure() { + git checkout ${_commithash} ./autogen.sh } diff --git a/srcpkgs/toxic/template b/srcpkgs/toxic/template new file mode 100644 index 00000000000..9394a00a855 --- /dev/null +++ b/srcpkgs/toxic/template @@ -0,0 +1,22 @@ +# Template file for 'toxic' +pkgname="toxic" +version="0.5.2" +revision=1 +_commithash="0c39e7b158ff74a2ef4ed62a72b5b7a3c878ac7f" +short_desc="NCurses-based TOX instant messanger client" +maintainer="Stefan Mühlinghaus " +license="GPL-3" +homepage="https://wiki.tox.im/Toxic" +depends="toxcore-git>=20150313_2" +makedepends="toxcore-devel-git>=20150313_2 libX11-devel freealut-devel libconfig-devel ncurses-libs ncurses-devel>=5.9_10 libopenal-devel libnotify-devel libvpx-devel libsodium-devel opus-devel" +hostmakedepends="git pkg-config" +build_style="gnu-makefile" +make_install_args="-C build ${make_install_args}" +make_build_args="${make_install_args}" + +do_fetch() { + git clone https://github.com/Tox/toxic.git ${wrksrc} + cd "${wrksrc}" + git checkout ${_commithash} +} +