void-packages/srcpkgs/libpeas/template

35 lines
1.0 KiB
Bash

# Template file for 'libpeas'
pkgname=libpeas
version=1.24.0
revision=2
build_style=meson
build_helper="gir"
hostmakedepends="pkg-config intltool glib-devel python3 lua51"
makedepends="vala-devel gtk+3-devel python3-gobject-devel
glade3-devel lua51-devel"
depends="python3-gobject hicolor-icon-theme gjs>=1.38"
short_desc="Gobject-based plugins engine"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/Libpeas"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0b9a00138c129a663de3eef5569b00ace03ce31d345f7af783768e9f35c8e6f9
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/glade
}
}