# Template file for 'libpeas'
pkgname=libpeas
version=1.6.1
revision=1
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--without-demo --disable-demo"
depends="pygobject hicolor-icon-theme"
makedepends="pkg-config intltool vala-devel libgirepository-devel
 gtk+3-devel>=3.6.0_5 python-devel pygobject-devel gjs-devel
 libseed-devel gobject-introspection"
short_desc="Gobject-based plugins engine"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/$pkgname/1.6/$pkgname-$version.tar.xz"
checksum=7f133f44101594e0f96a0e5fe69c5893cde500f3edf916f680467dfd74de5c39
long_desc="
 libpeas is a gobject-based plugins engine, and is targetted at giving every
 application the chance to assume its own extensibility. It is currently used by
 several Gnome applications like gedit and Totem.

 It takes its roots in the old gedit plugins engine, and provides an extensive set
 of features mirroring the desiderata of most of the applications providing an
 extension framework."

post_install() {
	# Remove demo.
	rm -rf ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/peas-demo
}