void-packages/srcpkgs/pygobject/template

32 lines
860 B
Plaintext

# Template file for 'pygobject'
pkgname=pygobject
version=3.8.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config gobject-introspection>=1.36"
makedepends="pycairo-devel libglib-devel python-devel"
short_desc="Python bindings for GObject"
homepage="http://www.pygtk.org/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e85c8ec64238ce88ec1e905497f5a2eaa947a7f4050e338d21ec510d8a50eacb
pygobject-devel_package() {
depends="libffi-devel libglib-devel libgirepository-devel
pycairo-devel ${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
pygobject_package() {
pycompile_module="gi pygtkcompat"
depends="python pycairo"
pkg_install() {
vmove usr
}
}