From d7aa48669e137a121fc89e5ced8e132f0138a86f Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 20 Feb 2014 22:37:29 +0100 Subject: [PATCH] corebird: add package --- srcpkgs/corebird/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/corebird/template diff --git a/srcpkgs/corebird/template b/srcpkgs/corebird/template new file mode 100644 index 00000000000..a6bde8c1668 --- /dev/null +++ b/srcpkgs/corebird/template @@ -0,0 +1,29 @@ +# Template build for 'corebird'. +pkgname=corebird +version=0.6.1 +revision=1 +short_desc="Native Gtk+ Twitter Client" +hostmakedepends="pkg-config intltool cmake vala" +maintainer="Enno Boland " +license="GPLv3" +homepage="https://github.com/baedert/corebird" +distfiles="https://github.com/baedert/corebird/archive/${version}.tar.gz" +checksum="d18c3427212eb8ef5e99960b2f9ee001ccdef23c9057e89308e20d0490a33e1d" +makedepends=" gtk+3-devel glib-devel rest-devel libgee08-devel + sqlite-devel libsoup-devel libnotify-devel json-glib-devel" +create_srcdir=yes + +# We cannot use build_style=cmake here because the build environment of +# corebird is broken. Therefore we do it manually + +do_configure() { + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON . +} + +do_build() { + make ${makejobs} +} + +do_install() { + make DESTDIR=${DESTDIR} install +}