void-packages/srcpkgs/corebird/template

29 lines
855 B
Plaintext

# Template build for 'corebird'.
pkgname=corebird
version=0.7
revision=1
short_desc="Native Gtk+ Twitter Client"
hostmakedepends="pkg-config intltool cmake vala glib-devel libgee08-devel"
maintainer="Enno Boland <eb@s01.de>"
license="GPLv3"
homepage="http://corebird.baedert.org/"
distfiles="https://github.com/baedert/corebird/archive/${version}.tar.gz"
checksum=2f83d3b2d8792203dc92b644e333de0fb78947e366efc22d8d77e3f63cae1fd1
makedepends="gtk+3-devel rest-devel libgee08-devel sqlite-devel
libsoup-devel libnotify-devel json-glib-devel"
# 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
}