void-packages/srcpkgs/libpeas/template

34 lines
1.0 KiB
Plaintext

# Template file for 'libpeas'
pkgname=libpeas
version=1.10.0
revision=1
build_style=gnu-configure
configure_args="--without-demo --disable-demo"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="vala-devel>=0.22 libgirepository-devel gtk+3-devel libseed-devel pygobject-devel"
depends="pygobject hicolor-icon-theme gjs>=1.38"
short_desc="Gobject-based plugins engine"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gtk.org/"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=4695bc40e4885a903dbc5ce6a3704392feae63af51fd4da7a3888bb88ca78c47
post_install() {
# Remove demo.
rm -rf ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/peas-demo
}
libpeas-devel_package() {
depends="libglib-devel gtk+3-devel>=3.8 libgirepository-devel
${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}