void-packages/srcpkgs/folks/template

41 lines
1.2 KiB
Bash
Raw Normal View History

# Template file for 'folks'
pkgname=folks
2015-03-18 15:23:43 +00:00
version=0.11.0
2015-01-13 14:06:55 +00:00
revision=1
build_style=gnu-configure
2015-01-13 14:06:55 +00:00
build_options="gir"
2013-11-13 14:17:38 +00:00
configure_args="
2015-01-13 14:06:55 +00:00
--disable-static --disable-fatal-warnings
--disable-libsocialweb-backend --disable-schemas-compile
$(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool vala-devel
2015-01-13 14:06:55 +00:00
$(vopt_if gir gobject-introspection)"
2013-11-13 14:17:38 +00:00
makedepends="
readline-devel telepathy-glib-devel zeitgeist-devel
libgee08-devel evolution-data-server-devel tracker-devel"
depends="zeitgeist"
short_desc="GObject Library to aggregate people into metacontacts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
2012-09-26 02:13:37 +00:00
homepage="http://telepathy.freedesktop.org/wiki/Folks"
2015-01-13 14:06:55 +00:00
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
2015-03-18 15:23:43 +00:00
checksum=7f6306344f305538ffda263b1085bdcb7039ec0551825dd503f6a3a18cb73061
2015-01-13 14:06:55 +00:00
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
2014-04-03 07:45:23 +00:00
folks-devel_package() {
2015-01-13 14:06:55 +00:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
2015-01-13 14:06:55 +00:00
vmove usr/share/vala
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}