void-packages/srcpkgs/pygobject/template
2013-09-26 21:05:12 +02:00

32 lines
882 B
Text

# Template file for 'pygobject'
pkgname=pygobject
version=3.10.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config gobject-introspection>=1.38"
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/${version%.*}/$pkgname-$version.tar.xz"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8aaa1f83fdb2e30bae77405a63a8be600b311a04a4cdc952b2ab62ee81aad077
pygobject-devel_package() {
depends="libffi-devel libglib-devel libgirepository-devel
pycairo-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
pygobject_package() {
pycompile_module="gi pygtkcompat"
depends="python pycairo"
pkg_install() {
vmove all
}
}