void-packages/srcpkgs/corebird/template

30 lines
884 B
Plaintext

# Template build for 'corebird'.
pkgname=corebird
version=0.6.1
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="https://github.com/baedert/corebird"
distfiles="https://github.com/baedert/corebird/archive/${version}.tar.gz"
checksum="d18c3427212eb8ef5e99960b2f9ee001ccdef23c9057e89308e20d0490a33e1d"
makedepends="gtk+3-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
}